OpenGL: Restructure tests similar to D3D12 layout
- Move old test files to new unit/integration structure - Add OpenGL Test Fixture - Update CMakeLists.txt for new layout - Add OpenGL_Test_Restructuring_Plan.md
This commit is contained in:
@@ -109,7 +109,13 @@ void OpenGLSwapChain::Present(uint32_t syncInterval, uint32_t flags) {
|
||||
}
|
||||
|
||||
void OpenGLSwapChain::Resize(uint32_t width, uint32_t height) {
|
||||
Resize(static_cast<int>(width), static_cast<int>(height));
|
||||
m_width = width;
|
||||
m_height = height;
|
||||
glfwSetWindowSize(m_window, width, height);
|
||||
int w, h;
|
||||
glfwGetFramebufferSize(m_window, &w, &h);
|
||||
m_framebufferWidth = w;
|
||||
m_framebufferHeight = h;
|
||||
}
|
||||
|
||||
void OpenGLSwapChain::SetFullscreen(bool fullscreen) {
|
||||
|
||||
Reference in New Issue
Block a user