@@ -61,7 +61,7 @@ protected:
|
||||
void ClientSizeChanged(int w, int h, bool force = false);
|
||||
|
||||
/** Get screen depth to use for fullscreen mode. */
|
||||
virtual uint8 GetFullscreenBpp();
|
||||
virtual uint8_t GetFullscreenBpp();
|
||||
/** (Re-)create the backing store. */
|
||||
virtual bool AllocateBackingStore(int w, int h, bool force = false) = 0;
|
||||
/** Get a pointer to the video buffer. */
|
||||
@@ -149,7 +149,7 @@ protected:
|
||||
HGLRC gl_rc; ///< OpenGL context.
|
||||
std::string driver_info; ///< Information string about selected driver.
|
||||
|
||||
uint8 GetFullscreenBpp() override { return 32; } // OpenGL is always 32 bpp.
|
||||
uint8_t GetFullscreenBpp() override { return 32; } // OpenGL is always 32 bpp.
|
||||
|
||||
void Paint() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user