summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPFO <pfolinux@rdi-linux>2011-06-01 16:52:21 +0200
committerPFO <pfolinux@rdi-linux>2011-06-01 16:52:21 +0200
commit2a8f0bbfddb760bc288fc9c479d11c42275db17f (patch)
treea16ff5ed34f8979335386c92017d90aa48ea420f
parent42da26814dfb3ecc62b4a8271ab42652a85b7ee7 (diff)
Adds debug messages
-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 6cf5774..97dee05 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;