mirror of https://github.com/axmolengine/axmol.git
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:
parent
6c81e21935
commit
73b409f116
|
@ -248,6 +248,9 @@ bool CCEGLView::initGL()
|
|||
return false;
|
||||
}
|
||||
|
||||
// Enable point size by default on windows.
|
||||
glEnable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue