mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-14 12:05:31 +00:00
Pass all reset flags to glcontext.
This commit is contained in:
@@ -225,9 +225,10 @@ namespace bgfx { namespace gl
|
||||
m_visualInfo = NULL;
|
||||
}
|
||||
|
||||
void GlContext::resize(uint32_t /*_width*/, uint32_t /*_height*/, bool _vsync)
|
||||
void GlContext::resize(uint32_t /*_width*/, uint32_t /*_height*/, uint32_t _flags)
|
||||
{
|
||||
int32_t interval = _vsync ? 1 : 0;
|
||||
bool vsync = !!(_flags&BGFX_RESET_VSYNC);
|
||||
int32_t interval = vsync ? 1 : 0;
|
||||
|
||||
if (NULL != glXSwapIntervalEXT)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user