Call init on drawbuffer. upgrade native.

This commit is contained in:
Henrik Rydgard 2013-01-11 23:46:56 +01:00
parent 36eaabd917
commit b4af05a23c
2 changed files with 7 additions and 1 deletions

View File

@ -298,6 +298,9 @@ void NativeInitGraphics()
theme.checkOn = I_CHECKEDBOX;
theme.checkOff = I_SQUARE;
ui_draw2d.Init();
ui_draw2d_front.Init();
UIInit(&ui_atlas, theme);
uiTexture = new Texture();
@ -375,6 +378,9 @@ void NativeShutdownGraphics()
delete screenManager;
screenManager = 0;
ui_draw2d.Shutdown();
ui_draw2d_front.Shutdown();
UIShader_Shutdown();
gl_lost_manager_shutdown();

2
native

@ -1 +1 @@
Subproject commit af5142d32a283ffc0ad1bba5d79a5f30fba717d9
Subproject commit c60bda83b6871f151921ca818a4ba292714bd7ec