comparison src/paranormal-ng/paranormal.c @ 2079:551862ab5d86

add alpha blending shit
author William Pitcock <nenolod@atheme.org>
date Mon, 15 Oct 2007 06:43:06 -0500
parents 1fa3c8cd366a
children 9084e2e05f4a
comparison
equal deleted inserted replaced
2078:1fa3c8cd366a 2079:551862ab5d86
72 SDL_GetError ()); 72 SDL_GetError ());
73 73
74 glViewport(0, 0, w, h); 74 glViewport(0, 0, w, h);
75 glClearColor(0.0f, 0.0f, 0.0f, 0.5f); 75 glClearColor(0.0f, 0.0f, 0.0f, 0.5f);
76 glClearDepth(1.0f); 76 glClearDepth(1.0f);
77
78 glEnable(GL_BLEND);
79 glDisable(GL_DEPTH_TEST);
77 } 80 }
78 81
79 static void 82 static void
80 take_screenshot (void) 83 take_screenshot (void)
81 { 84 {