Skip to content

Commit 36eefa5

Browse files
committed
Comment GLUniform::CacheValue()
1 parent 8d941a7 commit 36eefa5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/engine/renderer/gl_shader.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ class GLUniform {
376376
_shader->RegisterUniform( this );
377377
}
378378

379+
// Returns true if the arg is different than cached value and the memory used for this uniform is not part of the material buffer or push buffer
379380
bool CacheValue( const void* value ) {
380381
uint32_t* currentValue;
381382

0 commit comments

Comments
 (0)