mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 16:07:40 +00:00
- fixed the texture size checks for determining if a camera texture requires offscreen rendering were wrong and checked the scaled size, not the physical size.
This commit is contained in:
parent
86f38475b0
commit
73823e6a09
1 changed files with 1 additions and 1 deletions
|
@ -1138,7 +1138,7 @@ void FGLInterface::RenderTextureView (FCanvasTexture *tex, AActor *Viewpoint, in
|
||||||
gl_fixedcolormap=CM_DEFAULT;
|
gl_fixedcolormap=CM_DEFAULT;
|
||||||
gl_RenderState.SetFixedColormap(CM_DEFAULT);
|
gl_RenderState.SetFixedColormap(CM_DEFAULT);
|
||||||
|
|
||||||
bool usefb = gl_usefb || width > screen->GetWidth() || height > screen->GetHeight();
|
bool usefb = gl_usefb || gltex->GetWidth() > screen->GetWidth() || gltex->GetHeight() > screen->GetHeight();
|
||||||
if (!usefb)
|
if (!usefb)
|
||||||
{
|
{
|
||||||
glFlush();
|
glFlush();
|
||||||
|
|
Loading…
Reference in a new issue