Merge branch 'gles'
[neverball] / ball / st_name.c
index 2e5ba1b..44051c8 100644 (file)
@@ -22,7 +22,7 @@
 #include "config.h"
 #include "video.h"
 #include "text.h"
-#include "back.h"
+#include "geom.h"
 
 #include "game_common.h"
 #include "game_server.h"
@@ -128,7 +128,7 @@ static int name_enter(struct state *st, struct state *prev)
 {
     if (draw_back)
     {
-        game_client_free();
+        game_client_free(NULL);
         back_init("back/gui.png");
     }
 
@@ -152,12 +152,12 @@ static void name_paint(int id, float t)
     {
         video_push_persp((float) config_get_d(CONFIG_VIEW_FOV), 0.1f, FAR_DIST);
         {
-            back_draw(0);
+            back_draw_easy();
         }
         video_pop_matrix();
     }
     else
-        game_client_draw(0, t, 1.0f);
+        game_client_draw(0, t);
 
     gui_paint(id);
 }