can't use this in STATIC_ASSERT on windows
git-svn-id: http://skia.googlecode.com/svn/trunk@820 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
11a5ff376b
commit
aff86f3fe3
@ -22,7 +22,7 @@ struct GrGLIRect {
|
||||
}
|
||||
|
||||
void setFromGLViewport() {
|
||||
GR_STATIC_ASSERT(sizeof(*this) == 4*sizeof(GLint));
|
||||
GR_STATIC_ASSERT(sizeof(GrGLIRect) == 4*sizeof(GLint));
|
||||
GR_GL_GetIntegerv(GL_VIEWPORT, (GLint*) this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user