mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
winlayer.cpp: fix videoBeginDrawing() to return an intptr_t to mirrorBuffer when inpreparemirror
git-svn-id: https://svn.eduke32.com/eduke32@7735 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c2340dd409
commit
1426b3fb4f
1 changed files with 8 additions and 1 deletions
|
@ -1853,7 +1853,14 @@ void videoBeginDrawing(void)
|
|||
|
||||
if (offscreenrendering) return;
|
||||
|
||||
frameplace = fullscreen ? (intptr_t)lpOffscreen : (intptr_t)lpPixels;
|
||||
if (inpreparemirror)
|
||||
{
|
||||
frameplace = (intptr_t)mirrorBuffer;
|
||||
}
|
||||
else
|
||||
{
|
||||
frameplace = fullscreen ? (intptr_t)lpOffscreen : (intptr_t)lpPixels;
|
||||
}
|
||||
|
||||
if (!modechange) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue