mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -575,6 +575,11 @@ with examples:
|
||||
|
||||
genie --with-sdl vs2012
|
||||
|
||||
**NOTE** Special care is necessary to make custom windowing to work with
|
||||
multithreaded renderer. Each platform has rules about where renderer can be and
|
||||
how multithreading interacts with context/device. To disable multithreaded
|
||||
render use `BGFX_CONFIG_MULTITHREDED=0` preprocessor define.
|
||||
|
||||
Tools
|
||||
-----
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ namespace bgfx
|
||||
# elif BX_PLATFORM_WINDOWS
|
||||
HWND hwnd = glfwGetWin32Window(_window);
|
||||
winSetHwnd(hwnd);
|
||||
# endif BX_PLATFORM_WINDOWS
|
||||
# endif // BX_PLATFORM_WINDOWS
|
||||
}
|
||||
|
||||
} // namespace bgfx
|
||||
|
||||
@@ -2669,6 +2669,7 @@ namespace bgfx { namespace gl
|
||||
GLENUM(GL_RENDERBUFFER);
|
||||
|
||||
GLENUM(GL_INVALID_ENUM);
|
||||
GLENUM(GL_INVALID_FRAMEBUFFER_OPERATION);
|
||||
GLENUM(GL_INVALID_VALUE);
|
||||
GLENUM(GL_INVALID_OPERATION);
|
||||
GLENUM(GL_OUT_OF_MEMORY);
|
||||
|
||||
Reference in New Issue
Block a user