зеркало из https://github.com/mozilla/moz-skia.git
Reverting Linux compiler complaint patch - again
git-svn-id: http://skia.googlecode.com/svn/trunk@3448 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
2badb15d43
Коммит
0ffc56f674
|
@ -100,7 +100,7 @@ public:
|
||||||
GrAlwaysAssert(size >= 0);
|
GrAlwaysAssert(size >= 0);
|
||||||
|
|
||||||
// delete pre-existing data
|
// delete pre-existing data
|
||||||
delete[] fDataPtr;
|
delete fDataPtr;
|
||||||
|
|
||||||
fSize = size;
|
fSize = size;
|
||||||
fDataPtr = new char[size];
|
fDataPtr = new char[size];
|
||||||
|
@ -345,7 +345,7 @@ GrDebugGL GrDebugGL::Obj;
|
||||||
GrGLvoid GR_GL_FUNCTION_TYPE debugGLActiveTexture(GrGLenum texture)
|
GrGLvoid GR_GL_FUNCTION_TYPE debugGLActiveTexture(GrGLenum texture)
|
||||||
{
|
{
|
||||||
|
|
||||||
// GrAlwaysAssert(0 <= texture);
|
GrAlwaysAssert(0 <= texture);
|
||||||
// GrAlwaysAssert(texture < GrDebugGL::getInstance()->getMaxTextureUnits());
|
// GrAlwaysAssert(texture < GrDebugGL::getInstance()->getMaxTextureUnits());
|
||||||
|
|
||||||
GrDebugGL::getInstance()->setCurTextureUnit(texture);
|
GrDebugGL::getInstance()->setCurTextureUnit(texture);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче