weimingtom / angel-engine

Automatically exported from code.google.com/p/angel-engine
0 stars 0 forks source link

GridActor should use glLineWidth(...) #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In my custom Render() function I called glLineWidth(5.0f);
2. Then the grid is also drawn bold.

What is the expected output? What do you see instead?
I would expect that the grid is always drawn with the same width.

What version of the product are you using? On what operating system? Is it
a downloaded distribution or from SVN?
svn revision 459.

Please provide any additional information below.
GridActor should probably call glLineWidth(1.0f);

Original issue reported on code.google.com by rhy...@rhywek.com on 7 Feb 2011 at 4:55

GoogleCodeExporter commented 8 years ago
Good catch. Since most platforms don't properly implement glLineWidth anyway 
(always drawing at 1.0 regardless of the call) this isn't something that was 
ever properly tested. 

Original comment by lieseg...@gmail.com on 15 Feb 2011 at 2:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Checked into trunk. 

Original comment by lieseg...@gmail.com on 19 Mar 2011 at 4:33