mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 07:11:40 +00:00
OGL: Update the window size after swapping buffers, not before
Prevents us from rendering beyond the viewport bounds.
This commit is contained in:
parent
73a67aa413
commit
ab44536a3c
3 changed files with 31 additions and 29 deletions
|
@ -54,6 +54,7 @@ GLuint FramebufferManager::CreateTexture(GLenum texture_type, GLenum internal_fo
|
|||
GLenum pixel_format, GLenum data_type)
|
||||
{
|
||||
GLuint texture;
|
||||
glActiveTexture(GL_TEXTURE9);
|
||||
glGenTextures(1, &texture);
|
||||
glBindTexture(texture_type, texture);
|
||||
if (texture_type == GL_TEXTURE_2D_ARRAY)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue