mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-08 18:11:38 +00:00
remove old deprecated calls and fixed functions parameters
This commit is contained in:
parent
c3aafc77b3
commit
adeac6f4a5
4 changed files with 5 additions and 19 deletions
|
@ -345,7 +345,7 @@ XFBSourceBase* FramebufferManager::CreateXFBSource(unsigned int target_width, un
|
|||
glGenTextures(1, &texture);
|
||||
|
||||
glBindTexture(GL_TEXTURE_RECTANGLE, texture);
|
||||
glTexImage2D(GL_TEXTURE_RECTANGLE, 0, 4, target_width, target_height, 0, GL_RGB, GL_UNSIGNED_BYTE, NULL);
|
||||
glTexImage2D(GL_TEXTURE_RECTANGLE, 0, GL_RGBA, target_width, target_height, 0, GL_RGB, GL_UNSIGNED_BYTE, NULL);
|
||||
|
||||
glBindTexture(GL_TEXTURE_RECTANGLE, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue