Minor fixes
This commit is contained in:
@@ -156,7 +156,7 @@ namespace lime {
|
|||||||
|
|
||||||
mSensorManager->AddSensorListener (*this, Tizen::Uix::Sensor::SENSOR_TYPE_ACCELERATION, interval, true);*/
|
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 = new (std::nothrow) Tizen::Base::Runtime::Timer;
|
||||||
mTimer->Construct (*this);
|
mTimer->Construct (*this);
|
||||||
|
|||||||
@@ -121,8 +121,8 @@ namespace lime {
|
|||||||
bool BitmapCache::StillGood (const Transform &inTransform, const Rect &inVisiblePixels, BitmapCache *inMask) {
|
bool BitmapCache::StillGood (const Transform &inTransform, const Rect &inVisiblePixels, BitmapCache *inMask) {
|
||||||
|
|
||||||
// TODO: Need to break the cache for certain operations, for quality?
|
// TODO: Need to break the cache for certain operations, for quality?
|
||||||
//if (!mMatrix.IsIntTranslation (*inTransform.mMatrix, mTX, mTY) || mScale9 != *inTransform.mScale9)
|
if (!mMatrix.IsIntTranslation (*inTransform.mMatrix, mTX, mTY) || mScale9 != *inTransform.mScale9)
|
||||||
//return false;
|
return false;
|
||||||
|
|
||||||
if (inMask) {
|
if (inMask) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user