Remove dead code
Just some code that was commented out and only adds to the confusion. Change-Id: Icfdf81de9731eeb2c473a2f6e2723742601a2037 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
parent
c4611dc168
commit
72e9cad560
@ -616,7 +616,6 @@ public class QtActivityDelegate
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
// setFullScreen(savedInstanceState.getBoolean("FullScreen"));
|
||||
m_started = savedInstanceState.getBoolean("Started");
|
||||
if (m_started)
|
||||
m_surface.applicationStarted(true);
|
||||
|
@ -107,20 +107,6 @@ public class QtSurface extends SurfaceView implements SurfaceHolder.Callback
|
||||
|
||||
if (m_usesGL)
|
||||
holder.setFormat(PixelFormat.RGBA_8888);
|
||||
|
||||
// if (!m_started)
|
||||
// return;
|
||||
//
|
||||
// if (m_usesGL)
|
||||
// QtApplication.setSurface(holder.getSurface());
|
||||
// else
|
||||
// {
|
||||
// QtApplication.lockSurface();
|
||||
// QtApplication.setSurface(null);
|
||||
// m_bitmap=Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.RGB_565);
|
||||
// QtApplication.setSurface(m_bitmap);
|
||||
// QtApplication.unlockSurface();
|
||||
// }
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user