Pass in draw directly in GPUCommon::DeviceRestore, instead of awkwardly fetching it

This commit is contained in:
Henrik Rydgård committed 2023-02-25 23:04:27 +01:00
1 parent 3e942f6b7b
commit 4c45f8a4b0
16 files changed
+26 -26

No files matched your search

+1 -1
View File
@@ -914,7 +914,7 @@ bool NativeInitGraphics(GraphicsContext *graphicsContext) {
g_gameInfoCache = new GameInfoCache();
if (gpu) {
gpu->DeviceRestore();
gpu->DeviceRestore(g_draw);
}
INFO_LOG(SYSTEM, "NativeInitGraphics completed");