Minor fixes

This commit is contained in:
Joshua Granick
2013-12-04 04:21:02 -08:00
parent f990832507
commit 6046d79955
2 changed files with 3 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ namespace lime {
mSensorManager->AddSensorListener (*this, Tizen::Uix::Sensor::SENSOR_TYPE_ACCELERATION, interval, true);*/
bool ok = limeEGLCreate (mForm, sgWidth, sgHeight, 2, (sgFlags & wfDepthBuffer) ? 16 : 0, (sgFlags & wfStencilBuffer) ? 8 : 0, 0);
bool ok = limeEGLCreate (mForm, sgWidth, sgHeight, 1, (sgFlags & wfDepthBuffer) ? 16 : 0, (sgFlags & wfStencilBuffer) ? 8 : 0, 0);
mTimer = new (std::nothrow) Tizen::Base::Runtime::Timer;
mTimer->Construct (*this);

View File

@@ -121,8 +121,8 @@ namespace lime {
bool BitmapCache::StillGood (const Transform &inTransform, const Rect &inVisiblePixels, BitmapCache *inMask) {
// TODO: Need to break the cache for certain operations, for quality?
//if (!mMatrix.IsIntTranslation (*inTransform.mMatrix, mTX, mTY) || mScale9 != *inTransform.mScale9)
//return false;
if (!mMatrix.IsIntTranslation (*inTransform.mMatrix, mTX, mTY) || mScale9 != *inTransform.mScale9)
return false;
if (inMask) {