Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.

this also ripples into the window manager API by making some constant there deprecated as well.
This commit is contained in:
Mathias Agopian
2009-08-13 17:29:02 -07:00
committed by Jean-Baptiste Queru
parent 81655243a6
commit 317a6280cc
13 changed files with 45 additions and 41 deletions

View File

@ -204,7 +204,6 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
// underlying surface is created and destroyed
SurfaceHolder holder = getHolder();
holder.addCallback(this);
holder.setType(SurfaceHolder.SURFACE_TYPE_GPU);
}
/**