summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-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 6cf57744b3..97dee0538b 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;