mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
windows: Re-enable scaling on gl_extensions change.
This fixes the fact that it's not filled in the first time UpdateMenus() is called, since it's called again whenever you open the menu anyway.
This commit is contained in:
parent
7d8b4b5cfe
commit
0e286d6603
1 changed files with 3 additions and 0 deletions
|
@ -1684,6 +1684,9 @@ namespace MainWindow
|
|||
if (!gl_extensions.OES_texture_npot) {
|
||||
EnableMenuItem(menu, ID_TEXTURESCALING_3X, MF_GRAYED);
|
||||
EnableMenuItem(menu, ID_TEXTURESCALING_5X, MF_GRAYED);
|
||||
} else {
|
||||
EnableMenuItem(menu, ID_TEXTURESCALING_3X, MF_ENABLED);
|
||||
EnableMenuItem(menu, ID_TEXTURESCALING_5X, MF_ENABLED);
|
||||
}
|
||||
|
||||
static const int texscalingtypeitems[] = {
|
||||
|
|
Loading…
Add table
Reference in a new issue