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:
robertphillips@google.com 2012-03-21 13:05:04 +00:00
Родитель 2badb15d43
Коммит 0ffc56f674
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);