hedgewars/uStore.pas
changeset 756 2b307457fd68
parent 755 edf26e9554ac
child 759 8da05b316d81
--- a/hedgewars/uStore.pas	Fri Jan 25 23:33:35 2008 +0000
+++ b/hedgewars/uStore.pas	Fri Jan 25 23:55:03 2008 +0000
@@ -495,14 +495,11 @@
 begin
 aspect:= cScreenWidth / cScreenHeight;
 
+glLoadIdentity;
 glViewport(0, 0, cScreenWidth, cScreenHeight);
 glScalef(2.0 / cScreenWidth, -2.0 / cScreenHeight, 1.0);
 glTranslatef(-cScreenWidth / 2, -cScreenHeight / 2, 0);
-//glMatrixMode(GL_PROJECTION);
-//glLoadIdentity();
-
-//gluPerspective(60.0, aspect, 0.1, 100.0);
-
+glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
 glMatrixMode(GL_MODELVIEW)
 end;