You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-ipml/GLSurfaceView: fix indentation/newlines, fix compilation when DEBUG_GLAREA is defined
This commit is contained in:
@@ -49,7 +49,7 @@ extern int FIXME__HEIGHT;
|
||||
|
||||
// mainly frame markers (very obtrusive, not recommended for most builds)
|
||||
#ifdef DEBUG_GLAREA
|
||||
#define d_printf(...) printf(VA_ARGS)
|
||||
#define d_printf(...) printf(__VA_ARGS__)
|
||||
#else
|
||||
#define d_printf(...)
|
||||
#endif
|
||||
@@ -182,8 +182,6 @@ static void on_realize(GtkGLArea *gl_area, struct jni_gl_callback_data *d)
|
||||
FIXME__HEIGHT -= off_y;
|
||||
// ---
|
||||
|
||||
|
||||
|
||||
gtk_gl_area_make_current(gl_area);
|
||||
|
||||
struct render_priv *render_priv = g_object_get_data(G_OBJECT(gl_area), "render_priv");
|
||||
|
||||
Reference in New Issue
Block a user