mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
LibGL: Implement glHint()
This commit is contained in:
parent
2a16c8bdb8
commit
eed0bcaf42
5 changed files with 55 additions and 3 deletions
|
@ -92,6 +92,19 @@ extern "C" {
|
|||
#define GL_CW 0x0900
|
||||
#define GL_CCW 0x0901
|
||||
|
||||
// Hint enums
|
||||
#define GL_DONT_CARE 0x1100
|
||||
#define GL_FASTEST 0x1101
|
||||
#define GL_NICEST 0x1102
|
||||
|
||||
#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
|
||||
#define GL_POINT_SMOOTH_HINT 0x0C51
|
||||
#define GL_LINE_SMOOTH_HINT 0x0C52
|
||||
#define GL_POLYGON_SMOOTH_HINT 0x0C53
|
||||
#define GL_FOG_HINT 0x0C54
|
||||
#define GL_GENERATE_MIPMAP_HINT 0x8192
|
||||
#define GL_TEXTURE_COMPRESSION_HINT 0x84EF
|
||||
|
||||
// Listing enums
|
||||
#define GL_COMPILE 0x1300
|
||||
#define GL_COMPILE_AND_EXECUTE 0x1301
|
||||
|
@ -190,6 +203,7 @@ GLAPI void glFinish();
|
|||
GLAPI void glBlendFunc(GLenum sfactor, GLenum dfactor);
|
||||
GLAPI void glShadeModel(GLenum mode);
|
||||
GLAPI void glAlphaFunc(GLenum func, GLclampf ref);
|
||||
GLAPI void glHint(GLenum target, GLenum mode);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue