mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Use the hardware scaler again on Android. Move all DPI handling code from java to app-android.cpp.
This commit is contained in:
1 parent
04f8bffa29
commit
13515bf235
13 files changed
+239
-197
No files matched your search
@@ -97,7 +97,7 @@ Bounds UIContext::GetScissorBounds() {
|
||||
void UIContext::ActivateTopScissor() {
|
||||
if (scissorStack_.size()) {
|
||||
const Bounds &bounds = scissorStack_.back();
|
||||
float scale = 1.0f / g_dpi_scale;
|
||||
float scale = pixel_in_dps;
|
||||
int x = scale * bounds.x;
|
||||
int y = scale * bounds.y;
|
||||
int w = scale * bounds.w;
|
||||
|
||||
Reference in new issue
Block a user