Skip to content

Commit 54c1107

Browse files
committed
Comment GLUniform::CacheValue()
1 parent 9aaecb9 commit 54c1107

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
@@ -375,6 +375,7 @@ class GLUniform {
375375
_shader->RegisterUniform( this );
376376
}
377377

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

0 commit comments

Comments
 (0)