OSDN Git Service

android: enlarge cache_resources android-x86-4.4-r1
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 Jun 2014 02:51:43 +0000 (10:51 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 Jun 2014 02:51:43 +0000 (10:51 +0800)
src/gallium/state_trackers/egl/android/native_android.cpp

index 4eb0497..1263162 100644 (file)
@@ -98,8 +98,8 @@ struct android_surface {
       int height;
       int format;
    } cache_key;
-   void *cache_handles[2];
-   struct pipe_resource *cache_resources[2];
+   void *cache_handles[4];
+   struct pipe_resource *cache_resources[4];
 };
 
 struct android_config {