Skip to content

Commit

Permalink
GL|Debug: Assert that context is active
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 13, 2012
1 parent c1004c9 commit f937c8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/engine/portable/src/dgl_common.c
Expand Up @@ -390,6 +390,7 @@ void GL_SetMultisample(boolean on)
if(!GL_state.features.multisample) return;

LIBDENG_ASSERT_IN_MAIN_THREAD();
LIBDENG_ASSERT_GL_CONTEXT_ACTIVE();

#if defined(WIN32)
if(on) glEnable(GL_MULTISAMPLE_ARB);
Expand Down

0 comments on commit f937c8e

Please sign in to comment.