]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
don't call glGetUniformBlockIndex without GL_ARB_uniform_buffer_object
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Mar 2013 01:05:14 +0000 (01:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Mar 2013 01:05:14 +0000 (01:05 +0000)
commit62622c466cf642d640f2cfbcc7f5e489629834a2
tree8241575ee1b257e091f4c1b6361f36406910fc23
parent1072f6b15ea55174cccdcc1c2da6cd6c37784e07
don't call glGetUniformBlockIndex without GL_ARB_uniform_buffer_object
as the pointer is NULL (this crashed OpenGL 2.0-3.0 drivers)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11925 d7cf8633-e32d-0410-b094-e92efae38249
gl_rmain.c