fix compilation

This commit is contained in:
Pawel Kolodziejski 2008-09-28 18:08:09 +00:00
parent 0b5ecbee68
commit 3be927ad06
2 changed files with 2 additions and 3 deletions

View File

@ -149,8 +149,7 @@ void glopLightModel(GLContext *c, TGLParam *p) {
c->light_model_two_side = (int)v[0];
break;
default:
tgl_warning("glopLightModel: illegal pname: 0x%x", pname);
//assert(0);
warning("glopLightModel: illegal pname: 0x%x", pname);
break;
}
}

View File

@ -94,7 +94,7 @@ void glopEnableDisable(GLContext *c, TGLParam *p) {
if (code >= TGL_LIGHT0 && code < TGL_LIGHT0 + T_MAX_LIGHTS) {
gl_enable_disable_light(c, code - TGL_LIGHT0, v);
} else {
//tgl_warning("glEnableDisable: 0x%X not supported.", code);
//warning("glEnableDisable: 0x%X not supported.", code);
}
break;
}