Split Android graphics context implementations into their own files.

This commit is contained in:
Henrik Rydgård committed 2018-01-20 21:47:16 +01:00
1 parent d2e739092d
commit 133bef575a
14 files changed
+468 -339

No files matched your search

+8 -2
View File
@@ -722,8 +722,14 @@ void NativeShutdownGraphics() {
ui_draw2d.Shutdown();
ui_draw2d_front.Shutdown();
colorPipeline->Release();
texColorPipeline->Release();
if (colorPipeline) {
colorPipeline->Release();
colorPipeline = nullptr;
}
if (texColorPipeline) {
texColorPipeline->Release();
texColorPipeline = nullptr;
}
ILOG("NativeShutdownGraphics done");
}