diff options
| author | Vincent Duvert <vincent@duvert.net> | 2017-03-17 23:53:56 +0100 |
|---|---|---|
| committer | Vincent Duvert <vincent@duvert.net> | 2017-03-17 23:53:56 +0100 |
| commit | bbb59453757e706c3a68ae43c50b23d7072fbc4f (patch) | |
| tree | 886718f911ca78ce8698f42353f7787e8f1462c2 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | b7f605e88e885d645bfe2d8c9bfdb571f82059f3 (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/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions
