mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 09:51:21 +00:00
OpenGL2: Use loader for all extension funcs.
This commit is contained in:
parent
2ef99c8528
commit
716438168f
9 changed files with 158 additions and 288 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue