Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

development: Commit

development


Commit MetaInfo

Révisionab82ff4ef1d3f9061e2c77782bda574874da049b (tree)
l'heure2011-08-05 16:28:27
AuteurChia-I Wu <olvaffe@gmai...>
CommiterChih-Wei Huang

Message de Log

set EGL_RED_SIZE

This prevents alpha-only config from being chosen.

Change Summary

Modification

--- a/samples/GlobalTime/src/com/android/globaltime/GlobalTime.java
+++ b/samples/GlobalTime/src/com/android/globaltime/GlobalTime.java
@@ -277,6 +277,7 @@ class GTView extends SurfaceView implements SurfaceHolder.Callback {
277277 int[] version = new int[2];
278278 egl.eglInitialize(dpy, version);
279279 int[] configSpec = {
280+ EGL10.EGL_RED_SIZE, 5,
280281 EGL10.EGL_DEPTH_SIZE, 16,
281282 EGL10.EGL_NONE
282283 };
Afficher sur ancien navigateur de dépôt.