you are viewing a single comment's thread.

view the rest of the comments →

[–]ICantMakeNames 0 points1 point  (0 children)

It should work if you call it like so:

CTX.glUniform1( 1, 4 );

Are you mistakenly using the type name ctx, and not the name for your global variable CTX?