|
|
|
|
@ -638,13 +638,10 @@ parseUniformBlocks(MemoryArena* arena, ShaderProgram* s, GLContext* gl_ctx)
|
|
|
|
|
|
|
|
|
|
ub.binding_idx = ctxGetUniformBlockBinding(gl_ctx, ub.name); |
|
|
|
|
|
|
|
|
|
assert(ub.binding_idx >= 0); |
|
|
|
|
#if 0 |
|
|
|
|
if (ub.binding_idx < 0) |
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
glUniformBlockBinding(s->prog_id, i, ub.binding_idx); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|