mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Workaround for Mupen64Plus issue with initialization
This commit is contained in:
parent
d95d04e91e
commit
17b2db7031
|
@ -496,7 +496,6 @@ void FrameBufferList::renderBuffer(u32 _address)
|
|||
GLint srcCoord[4] = { 0, (GLint)(srcY0*srcScaleY), ogl.getWidth(), (GLint)(srcY1*srcScaleY) };
|
||||
GLint dstCoord[4] = { hOffset, vOffset + (GLint)(dstY0*dstScaleY), hOffset + ogl.getWidth(), vOffset + (GLint)(dstY1*dstScaleY) };
|
||||
|
||||
assert(!isGLError());
|
||||
GLenum filter = GL_LINEAR;
|
||||
if (config.video.multisampling != 0) {
|
||||
if (dstPartHeight > 0 ||
|
||||
|
@ -508,7 +507,6 @@ void FrameBufferList::renderBuffer(u32 _address)
|
|||
} else
|
||||
filter = GL_NEAREST;
|
||||
}
|
||||
assert(!isGLError());
|
||||
|
||||
if (!ogl.isFullscreen())
|
||||
vOffset += ogl.getHeightOffset();
|
||||
|
|
|
@ -704,7 +704,6 @@ bool TextureCache::_loadHiresBackground(CachedTexture *_pTexture)
|
|||
if (!TFH.isInited())
|
||||
return false;
|
||||
|
||||
isGLError(); // Workaround for Mupen64Plus;
|
||||
u8 * addr = (u8*)(RDRAM + gSP.bgImage.address);
|
||||
int tile_width = gSP.bgImage.width;
|
||||
int tile_height = gSP.bgImage.height;
|
||||
|
@ -818,7 +817,6 @@ bool TextureCache::_loadHiresTexture(u32 _tile, CachedTexture *_pTexture)
|
|||
if (config.textureFilter.txHiresEnable == 0 || !TFH.isInited())
|
||||
return false;
|
||||
|
||||
isGLError(); // Workaround for Mupen64Plus;
|
||||
gDPLoadTileInfo & info = gDP.loadInfo[_pTexture->tMem];
|
||||
|
||||
int bpl;
|
||||
|
|
Loading…
Reference in New Issue
Block a user