mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 10:09:32 +01:00
D3D11: Fix crash with texture scaling enabled
This commit is contained in:
1 parent
fc1a1a810f
commit
f868a0c4a1
4 files changed
+18
-14
No files matched your search
@@ -1091,7 +1091,7 @@ namespace MainWindow {
|
||||
CheckMenuItem(menu, texscalingitems[i], MF_BYCOMMAND | ((i == g_Config.iTexScalingLevel) ? MF_CHECKED : MF_UNCHECKED));
|
||||
}
|
||||
|
||||
if (!gl_extensions.OES_texture_npot) {
|
||||
if (g_Config.iGPUBackend == (int)GPUBackend::OPENGL && !gl_extensions.OES_texture_npot) {
|
||||
EnableMenuItem(menu, ID_TEXTURESCALING_3X, MF_GRAYED);
|
||||
EnableMenuItem(menu, ID_TEXTURESCALING_5X, MF_GRAYED);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user