hedgewars/uStore.pas
changeset 3491 4619b1ae99b5
parent 3490 016b3172b645
child 3509 d72c2219595d
--- a/hedgewars/uStore.pas	Wed Jun 02 13:52:23 2010 +0000
+++ b/hedgewars/uStore.pas	Thu Jun 03 14:03:48 2010 +0000
@@ -418,6 +418,7 @@
                         glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
                     end;
                 end;
+                glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, priority);
                 if saveSurf then Surface:= tmpsurf else SDL_FreeSurface(tmpsurf)
                 end
             else