issue #1564: Enable point size by default on windows. This can fix point size is always equal to 1 pixel in DrawPrimitivesTest.

This commit is contained in:
James Chen 2012-11-22 10:04:35 +08:00
parent 6c81e21935
commit 73b409f116
1 changed files with 3 additions and 0 deletions

View File

@ -248,6 +248,9 @@ bool CCEGLView::initGL()
return false;
}
// Enable point size by default on windows.
glEnable(GL_VERTEX_PROGRAM_POINT_SIZE);
return true;
}