mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
Just some renaming. Start moving away from the "thin3d" name
This commit is contained in:
1 parent
1044796de2
commit
20d9e60a67
34 files changed
+128
-133
No files matched your search
@@ -59,11 +59,11 @@ void UIScreen::update(InputState &input) {
|
||||
}
|
||||
|
||||
void UIScreen::preRender() {
|
||||
Draw::DrawContext *thin3d = screenManager()->getThin3DContext();
|
||||
if (!thin3d) {
|
||||
Draw::DrawContext *draw = screenManager()->getDrawContext();
|
||||
if (!draw) {
|
||||
return;
|
||||
}
|
||||
thin3d->Begin(true, 0xFF000000, 0.0f, 0);
|
||||
draw->Begin(true, 0xFF000000, 0.0f, 0);
|
||||
|
||||
Draw::Viewport viewport;
|
||||
viewport.TopLeftX = 0;
|
||||
@@ -72,12 +72,12 @@ void UIScreen::preRender() {
|
||||
viewport.Height = pixel_yres;
|
||||
viewport.MaxDepth = 1.0;
|
||||
viewport.MinDepth = 0.0;
|
||||
thin3d->SetViewports(1, &viewport);
|
||||
thin3d->SetTargetSize(pixel_xres, pixel_yres);
|
||||
draw->SetViewports(1, &viewport);
|
||||
draw->SetTargetSize(pixel_xres, pixel_yres);
|
||||
}
|
||||
|
||||
void UIScreen::postRender() {
|
||||
auto thin3d = screenManager()->getThin3DContext();
|
||||
auto thin3d = screenManager()->getDrawContext();
|
||||
if (!thin3d) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user