Skip to content

Commit

Permalink
Fixed: Do not attempt to query the OpenGL error state in DGL_End() wh…
Browse files Browse the repository at this point in the history
…en in dedicated-server mode.
  • Loading branch information
danij-deng committed Jul 16, 2011
1 parent 64c29d1 commit 8f1d7bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/engine/portable/src/dgl_draw.c
Expand Up @@ -449,6 +449,9 @@ void DGL_Begin(dglprimtype_t mode)

void DGL_End(void)
{
if(isDedicated)
return;

if(primLevel > 0)
{
primLevel--;
Expand Down

0 comments on commit 8f1d7bd

Please sign in to comment.