mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Add SDL_Window
to initGraphicsContext
prototype
This value is needed for vulkan to properly allocate a surface, and would benefit OpenGL to move more of its initialization code into here rather than in `emulator.cpp`.
This commit is contained in:
parent
870b6a21bf
commit
b048d4dd6e
9 changed files with 16 additions and 13 deletions
|
@ -45,7 +45,7 @@ void RendererGL::reset() {
|
|||
}
|
||||
}
|
||||
|
||||
void RendererGL::initGraphicsContext() {
|
||||
void RendererGL::initGraphicsContext(SDL_Window* window) {
|
||||
gl.reset();
|
||||
|
||||
auto gl_resources = cmrc::RendererGL::get_filesystem();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue