mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 03:54:19 +01:00
gsdx-ogl: disable blending when cleaning integer texture
Avoid a warning message on Nvidia
This commit is contained in:
1 parent
c6f026ee68
commit
705c88f193
1 file changed
+4
@@ -493,6 +493,10 @@ void GSDeviceOGL::ClearRenderTarget_i(GSTexture* t, int32 c)
|
||||
OMSetFBO(m_fbo);
|
||||
OMAttachRt(T);
|
||||
|
||||
// Blending is not supported when you render to an Integer texture
|
||||
GLState::blend = false;
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
gl_ClearBufferiv(GL_COLOR, 0, col);
|
||||
|
||||
OMSetColorMaskState(OMColorMaskSelector(old_color_mask));
|
||||
|
||||
Reference in new issue
Block a user