mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 10:15:09 +00:00
Merge pull request #48 from AshishKingdom/development
Added multisample support (MSAA x4)
This commit is contained in:
commit
c7fd560483
2 changed files with 7 additions and 1 deletions
|
@ -27364,7 +27364,7 @@ QB64_GAMEPAD_INIT();
|
||||||
|
|
||||||
#endif
|
#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
|
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 *PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)(GLenum target,GLenum pname,GLint *params);
|
||||||
typedef void (APIENTRY *PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)(GLenum target,GLenum pname,GLfloat *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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue