mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Move Thin3D into the Draw namespace.
This commit is contained in:
1 parent
88ad1cb3d8
commit
10393f5d4e
45 files changed
+188
-114
No files matched your search
+4
-3
@@ -117,7 +117,7 @@ static UI::Theme ui_theme;
|
||||
#include "android/android-ndk-profiler/prof.h"
|
||||
#endif
|
||||
|
||||
Thin3DTexture *uiTexture;
|
||||
Draw::Thin3DTexture *uiTexture;
|
||||
|
||||
ScreenManager *screenManager;
|
||||
std::string config_filename;
|
||||
@@ -139,7 +139,7 @@ struct PendingMessage {
|
||||
|
||||
static recursive_mutex pendingMutex;
|
||||
static std::vector<PendingMessage> pendingMessages;
|
||||
static Thin3DContext *thin3d;
|
||||
static Draw::Thin3DContext *thin3d;
|
||||
static UIContext *uiContext;
|
||||
static std::vector<std::string> inputboxValue;
|
||||
|
||||
@@ -147,7 +147,7 @@ static std::vector<std::string> inputboxValue;
|
||||
WindowsAudioBackend *winAudioBackend;
|
||||
#endif
|
||||
|
||||
Thin3DContext *GetThin3D() {
|
||||
Draw::Thin3DContext *GetThin3D() {
|
||||
return thin3d;
|
||||
}
|
||||
|
||||
@@ -524,6 +524,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
}
|
||||
|
||||
void NativeInitGraphics(GraphicsContext *graphicsContext) {
|
||||
using namespace Draw;
|
||||
Core_SetGraphicsContext(graphicsContext);
|
||||
thin3d = graphicsContext->CreateThin3DContext();
|
||||
|
||||
|
||||
Reference in new issue
Block a user