mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 12:59:14 +12:00
Allow compilation with opengl=off
This commit is contained in:
parent
428401870b
commit
1c63f61ad7
2 changed files with 58 additions and 38 deletions
|
@ -15,6 +15,8 @@ class FrontendSDL {
|
|||
|
||||
public:
|
||||
FrontendSDL();
|
||||
void createOpenGlWindow(const EmulatorConfig& config);
|
||||
void createVulkanWindow(const EmulatorConfig& config);
|
||||
bool loadROM(const std::filesystem::path& path);
|
||||
void run();
|
||||
u32 getMapping(InputMappings::Scancode scancode) { return keyboardMappings.getMapping(scancode); }
|
||||
|
@ -25,7 +27,7 @@ class FrontendSDL {
|
|||
|
||||
int gameControllerID;
|
||||
bool programRunning = true;
|
||||
|
||||
|
||||
// For tracking whether to update gyroscope
|
||||
// We bind gyro to right click + mouse movement
|
||||
bool holdingRightClick = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue