diff options
Diffstat (limited to 'src/glut/fbdev/state.c')
-rw-r--r-- | src/glut/fbdev/state.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/glut/fbdev/state.c b/src/glut/fbdev/state.c index dadd2ad7200..bca675c52c4 100644 --- a/src/glut/fbdev/state.c +++ b/src/glut/fbdev/state.c @@ -37,6 +37,7 @@ int AccumSize = 16; /* per channel size of accumulation buffer */ int DepthSize = DEFAULT_SOFTWARE_DEPTH_BITS; int StencilSize = STENCIL_BITS; +int NumSamples = 4; int glutGet(GLenum state) { @@ -89,7 +90,7 @@ int glutGet(GLenum state) return 256; return 0; case GLUT_WINDOW_NUM_SAMPLES: - return 0; + return NumSamples; case GLUT_WINDOW_STEREO: return 0; case GLUT_WINDOW_CURSOR: @@ -174,16 +175,6 @@ int glutDeviceGet(GLenum info) return -1; } -int glutVideoResizeGet(GLenum param) -{ - switch(param) { - case GLUT_VIDEO_RESIZE_POSSIBLE: - return 0; - - } - return -1; -} - int glutGetModifiers(void){ return KeyboardModifiers; } |