]> 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)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 21 Mar 2013 16:11:12 +0000 (17:11 +0100)
commit22863920fabca11099ef827cd9396f26780fe6ab
tree253ffe59b85d71ec1da548059d5ffb6cc843f1a4
parentf373951aec351640a76af9bd2bc20dc99b8a39d0
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
::stable-branch::merge=62622c466cf642d640f2cfbcc7f5e489629834a2
gl_rmain.c