X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=glquake.h;h=32b76f2d5e14aef5bad694053ed06ec1ea975275;hb=2c3c200d922cb528d3d815d12c69062b72b93a6b;hp=02a955eb66d7d723dda0ef4171cfb0c44b130ab9;hpb=bf7fdc26371e2823650c8af6d78ef1e28513f7eb;p=xonotic%2Fdarkplaces.git diff --git a/glquake.h b/glquake.h index 02a955eb..32b76f2d 100644 --- a/glquake.h +++ b/glquake.h @@ -239,6 +239,9 @@ extern int gl_max_anisotropy; #define GL_POINT_SMOOTH 0x0B10 #define GL_LINE_SMOOTH 0x0B20 #define GL_POLYGON_SMOOTH 0x0B41 + +#define GL_POLYGON_STIPPLE 0x0B42 + #endif extern int gl_max_texture_size; @@ -396,6 +399,26 @@ extern int gl_support_clamptoedge; extern void (GLAPIENTRY *qglActiveStencilFaceEXT)(GLenum); extern int gl_support_stenciltwoside; +//GL_EXT_blend_minmax +extern int gl_support_ext_blend_minmax; +#ifndef GL_FUNC_ADD_EXT +#define GL_FUNC_ADD_EXT 0x8006 // also supplied by GL_EXT_blend_subtract +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#define GL_BLEND_EQUATION_EXT 0x8009 // also supplied by GL_EXT_blend_subtract +extern void (GLAPIENTRY *qglBlendEquationEXT)(GLenum); // also supplied by GL_EXT_blend_subtract +#endif + +//GL_EXT_blend_subtract +extern int gl_support_ext_blend_subtract; +#ifndef GL_FUNC_SUBTRACT_EXT +#define GL_FUNC_SUBTRACT_EXT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B +#endif + +//GL_ARB_texture_non_power_of_two +extern int gl_support_arb_texture_non_power_of_two; + extern void (GLAPIENTRY *qglScissor)(GLint x, GLint y, GLsizei width, GLsizei height); extern void (GLAPIENTRY *qglClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); @@ -553,6 +576,7 @@ extern void (GLAPIENTRY *qglGetActiveUniformARB)(GLhandleARB programObj, GLuint extern void (GLAPIENTRY *qglGetUniformfvARB)(GLhandleARB programObj, GLint location, GLfloat *params); extern void (GLAPIENTRY *qglGetUniformivARB)(GLhandleARB programObj, GLint location, GLint *params); extern void (GLAPIENTRY *qglGetShaderSourceARB)(GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); +extern void (GLAPIENTRY *qglPolygonStipple)(const GLubyte *mask); #ifndef GL_PROGRAM_OBJECT_ARB #define GL_PROGRAM_OBJECT_ARB 0x8B40 #define GL_OBJECT_TYPE_ARB 0x8B4E