mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 13:50:36 +00:00
Added multisample support (MSAA x4)
This commit is contained in:
parent
7f075c4779
commit
820d6736f7
|
@ -27364,7 +27364,7 @@ QB64_GAMEPAD_INIT();
|
|||
|
||||
#endif
|
||||
|
||||
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
|
||||
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_MULTISAMPLE);
|
||||
|
||||
glutInitWindowSize(640,400);//cannot be changed unless display_x(etc) are modified
|
||||
|
||||
|
|
|
@ -1036,6 +1036,12 @@ typedef void (APIENTRY *PFNGLGETCOLORTABLEEXTPROC)(GLenum target,GLenum format,G
|
|||
typedef void (APIENTRY *PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)(GLenum target,GLenum pname,GLint *params);
|
||||
typedef void (APIENTRY *PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)(GLenum target,GLenum pname,GLfloat *params);
|
||||
|
||||
// OpenGL 1.3
|
||||
|
||||
#define GL_VERSION_1_3 1
|
||||
|
||||
#define GL_MULTISAMPLE 0x809D
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue