OpenGL2: Use loader for all extension funcs.

This commit is contained in:
SmileTheory 2016-07-26 00:41:31 -07:00
parent 2ef99c8528
commit 716438168f
9 changed files with 158 additions and 288 deletions

View file

@ -1184,7 +1184,7 @@ const void *RB_DrawSurfs( const void *data ) {
RB_DrawSun(0.1, tr.sunShader);
}
if (r_drawSunRays->integer)
if (glRefConfig.framebufferObject && r_drawSunRays->integer)
{
FBO_t *oldFbo = glState.currentFBO;
FBO_Bind(tr.sunRaysFbo);