Commit da45c877 authored by Steven Fuller's avatar Steven Fuller

* Minor changes

parent 3a4d1f62
......@@ -786,13 +786,9 @@ void InitRenderView()
void IO_AttackShape(Word shape)
{
if (weptex[shape] == 0) {
fprintf(stderr, "Weapon shape %d is zero texture!\n", shape);
}
glDisable(GL_DEPTH_TEST);
glBindTexture(GL_TEXTURE_2D, weptex[shape]);
ChangeTextureSimple(weptex[shape]);
glMatrixMode(GL_PROJECTION);
glPushMatrix();
......
......@@ -615,6 +615,7 @@ int HandleEvents()
glViewport(0, 0, event.xconfigure.width, event.xconfigure.height);
glPixelZoom(1.0f, -1.0f);
glRasterPos2f(-1.0f, 1.0f);
RedrawScreen();
break;
case ClientMessage:
if (event.xclient.data.l[0] == wmDeleteWindow)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment