mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: Keep in sync with zzogl.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2831 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
bd8cdfd802
commit
d617fe7927
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue