зеркало из https://github.com/mozilla/pjs.git
Bug 626694 - Forgot an instance of mIsRGBFormat. r=bustage
This commit is contained in:
Родитель
b68dcd1a37
Коммит
fef1f7c122
|
@ -1207,7 +1207,7 @@ public:
|
|||
// for RGB24. No easy way to upload that to GL.
|
||||
//
|
||||
// Note that if we start using RGB565 here, we'll need to
|
||||
// watch for a) setting mIsRGBFormat to TRUE; and b) getting
|
||||
// watch for a) setting the correct format; and b) getting
|
||||
// the stride right.
|
||||
if (mUpdateFormat == gfxASurface::ImageFormatRGB24) {
|
||||
mUpdateFormat = gfxASurface::ImageFormatARGB32;
|
||||
|
@ -1643,7 +1643,6 @@ public:
|
|||
}
|
||||
|
||||
mBackingSurface = xsurface;
|
||||
mIsRGBFormat = PR_TRUE;
|
||||
#endif
|
||||
|
||||
return mBackingSurface != nsnull;
|
||||
|
|
Загрузка…
Ссылка в новой задаче