X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=vid_shared.c;h=2743742d0bd61a0ccc3c3ef5164d850b856ce8ed;hp=88f2dbb8418820e0ec3c7579c8c7120e8e613aaa;hb=8ca84375827e16c963229b584b0dd64595a780f2;hpb=105b92bbfd2a623a7bc6f59c4f7110c5b259c9b2 diff --git a/vid_shared.c b/vid_shared.c index 88f2dbb8..2743742d 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -181,6 +181,8 @@ void (GLAPIENTRY *qglCopyTexSubImage3D)(GLenum target, GLint level, GLint xoffse void (GLAPIENTRY *qglScissor)(GLint x, GLint y, GLsizei width, GLsizei height); +void (GLAPIENTRY *qglPolygonOffset)(GLfloat factor, GLfloat units); + int GL_CheckExtension(const char *name, const gl_extensionfunctionlist_t *funcs, const char *disableparm, int silent) { int failed = false; @@ -305,6 +307,7 @@ static gl_extensionfunctionlist_t opengl110funcs[] = {"glCopyTexSubImage1D", (void **) &qglCopyTexSubImage1D}, {"glCopyTexSubImage2D", (void **) &qglCopyTexSubImage2D}, {"glScissor", (void **) &qglScissor}, + {"glPolygonOffset", (void **) &qglPolygonOffset}, {NULL, NULL} };