mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-26 08:40:16 +12:00
Start work on GL state manager object
This commit is contained in:
parent
ee49f89779
commit
b403e9a66e
8 changed files with 95 additions and 11 deletions
include
|
@ -11,7 +11,7 @@
|
|||
#include "crypto/aes_engine.hpp"
|
||||
#include "io_file.hpp"
|
||||
#include "memory.hpp"
|
||||
#include "opengl.hpp"
|
||||
#include "gl_state.hpp"
|
||||
|
||||
enum class ROMType { None, ELF, NCSD };
|
||||
|
||||
|
@ -22,6 +22,7 @@ class Emulator {
|
|||
Kernel kernel;
|
||||
Crypto::AESEngine aesEngine;
|
||||
|
||||
GLStateManager gl;
|
||||
SDL_Window* window;
|
||||
SDL_GLContext glContext;
|
||||
SDL_GameController* gameController;
|
||||
|
@ -56,5 +57,5 @@ class Emulator {
|
|||
bool loadNCSD(const std::filesystem::path& path);
|
||||
bool loadELF(const std::filesystem::path& path);
|
||||
bool loadELF(std::ifstream& file);
|
||||
void initGraphicsContext() { gpu.initGraphicsContext(); }
|
||||
void initGraphicsContext();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue