mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 11:03:45 +01:00
Attempt at fixing scissor scaling issue on ios ( #8300 )
This commit is contained in:
1 parent
ff98e91862
commit
7eb662fc6b
1 file changed
+2
-1
@@ -160,11 +160,12 @@ ViewController* sharedViewController;
|
||||
g_dpi_scale = 240.0f / (float)g_dpi;
|
||||
pixel_xres = size.width * scale;
|
||||
pixel_yres = size.height * scale;
|
||||
pixel_in_dps = (float)pixel_xres / (float)dp_xres;
|
||||
|
||||
dp_xres = pixel_xres * g_dpi_scale;
|
||||
dp_yres = pixel_yres * g_dpi_scale;
|
||||
|
||||
pixel_in_dps = (float)pixel_xres / (float)dp_xres;
|
||||
|
||||
NativeInitGraphics();
|
||||
|
||||
dp_xscale = (float)dp_xres / (float)pixel_xres;
|
||||
|
||||
Reference in new issue
Block a user