Project

General

Profile

Actions

Defect #14507

closed

why 2.1.4 DrawPrimitivesTest's "ccPointSize(64);" can't work?????

Added by shijie huo over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

ccPointSize(64);
ccDrawColor4B(255,0,0,255);
glEnable(GL_VERTEX_PROGRAM_POINT_SIZE);
ccDrawPoint( VisibleRect::center() );
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);

the above is my code,but it's can't work, the point's size is not changed.

Actions

Also available in: Atom PDF