summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/android/native_android.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/egl/android/native_android.cpp')
-rw-r--r--src/gallium/state_trackers/egl/android/native_android.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/android/native_android.cpp b/src/gallium/state_trackers/egl/android/native_android.cpp
index a584d54..7687ec8 100644
--- a/src/gallium/state_trackers/egl/android/native_android.cpp
+++ b/src/gallium/state_trackers/egl/android/native_android.cpp
@@ -413,7 +413,11 @@ android_display_create_window_surface(struct native_display *ndpy,
asurf = CALLOC_STRUCT(android_surface);
if (!asurf)
+ {
+ LOGE("Can't allocate android surface structure... X_x ");
return NULL;
+ }
+ LOGI("Android surface struct allocated :)");
asurf->adpy = adpy;
asurf->win = win;