--- deliantra/Deliantra-Client/DC/Texture.pm 2007/07/19 22:38:53 1.20 +++ deliantra/Deliantra-Client/DC/Texture.pm 2007/07/19 23:29:17 1.21 @@ -166,6 +166,8 @@ if ($render) { glViewport 0, 0, $tw, $th; + #glScissor 0, 0, $tw, $th; + #glEnable GL_SCISSOR_TEST; glMatrixMode GL_PROJECTION; glLoadIdentity; glOrtho 0, $tw, 0, $th, -10000, 10000; @@ -220,6 +222,8 @@ 0; gl_check "copying to texture %dx%d if=%x", $tw, $th, $self->{internalformat}; + + #glDisable GL_SCISSOR_TEST; } else { glTexImage2D GL_TEXTURE_2D, 0, $self->{internalformat},