Skip to content

Commit

Permalink
- moved the Win32GLVideo class to its own file.
Browse files Browse the repository at this point in the history
This and SystemFrameBuffer need splitting up to support both Vulkan and OpenGL
  • Loading branch information
coelckers committed Jun 24, 2018
1 parent 491898f commit 52102f3
Show file tree
Hide file tree
Showing 4 changed files with 605 additions and 583 deletions.
3 changes: 3 additions & 0 deletions src/win32/gl_sysfb.h
Expand Up @@ -30,6 +30,9 @@ class SystemFrameBuffer : public DFrameBuffer

protected:

void GetCenteredPos(int in_w, int in_h, int &winx, int &winy, int &winw, int &winh, int &scrwidth, int &scrheight);
void KeepWindowOnScreen(int &winx, int &winy, int winw, int winh, int scrwidth, int scrheight);

void PositionWindow(bool fullscreen);

void ResetGammaTable();
Expand Down

0 comments on commit 52102f3

Please sign in to comment.