From d617fe792776fde71cd63481c4ff91633a37c578 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sun, 11 Apr 2010 03:12:17 +0000 Subject: [PATCH] zzogl-pg: Keep in sync with zzogl. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2831 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zzogl-pg/opengl/targets.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/zzogl-pg/opengl/targets.cpp b/plugins/zzogl-pg/opengl/targets.cpp index 8bd5ac42a4..eb0773256c 100644 --- a/plugins/zzogl-pg/opengl/targets.cpp +++ b/plugins/zzogl-pg/opengl/targets.cpp @@ -2212,7 +2212,9 @@ u32 ZeroGS::CBitwiseTextureMngr::GetTexInt(u32 bitvalue, u32 ptexDoNotDelete) if (glGetError() != GL_NO_ERROR ) ERROR_LOG ("Error on puting bitmask texture\n"); - glTexParameteri(GL_TEXTURE_RECTANGLE_NV, GL_TEXTURE_WRAP_S, GL_REPEAT); +// Removing clamping, as it seems lead to numerous troubles at some drivers +// Need to observe, may be clamping is not really needed. + /*glTexParameteri(GL_TEXTURE_RECTANGLE_NV, GL_TEXTURE_WRAP_S, GL_REPEAT); glTexParameteri(GL_TEXTURE_RECTANGLE_NV, GL_TEXTURE_WRAP_T, GL_REPEAT); GLint Error = glGetError(); @@ -2228,7 +2230,7 @@ u32 ZeroGS::CBitwiseTextureMngr::GetTexInt(u32 bitvalue, u32 ptexDoNotDelete) } } return 0; - } + }*/ mapTextures[bitvalue] = ptex; return ptex;