summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
diff options
context:
space:
mode:
authorVincent Duvert <vincent@duvert.net>2017-03-17 23:53:56 +0100
committerVincent Duvert <vincent@duvert.net>2017-03-17 23:53:56 +0100
commitbbb59453757e706c3a68ae43c50b23d7072fbc4f (patch)
tree886718f911ca78ce8698f42353f7787e8f1462c2 /Source/Core/VideoCommon/RenderBase.cpp
parentb7f605e88e885d645bfe2d8c9bfdb571f82059f3 (diff)
OGL: Fix texture_type checks in CreateTexture
The FrameBufferManager::CreateTexture (from the OpenGL backend) method introduced by commit 69cedf41 incorrectly compares the texture variable (which contains a name provided by glGenTextures) against GL_TEXTURE_2D_MULTISAMPLE_ARRAY and GL_TEXTURE_2D_MULTISAMPLE. It should instead use the texture_type variable for this (as done in the first branch of the if).
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
0 files changed, 0 insertions, 0 deletions