mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Add size hints for Vulkan surface size, using SDL window size, in case it can't be determined by the driver
This commit is contained in:
1 parent
e260188c49
commit
88bfab066c
27 files changed
+96
-78
No files matched your search
@@ -73,7 +73,7 @@ void SDLHeadlessGLGraphicsContext::ShutdownSurface() {
|
||||
glContext_ = nullptr;
|
||||
}
|
||||
|
||||
bool SDLHeadlessGLGraphicsContext::InitSurface(WindowSystem winsys, void *data1, void *data2, std::string *errorMessage) {
|
||||
bool SDLHeadlessGLGraphicsContext::InitSurface(WindowSystem winsys, void *data1, void *data2, int widthHint, int heightHint, std::string *errorMessage) {
|
||||
// Not used in this context.
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user