*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1303 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-09-09 02:33:32 +00:00
parent 025543d4dc
commit c7c63901d0
+2 -1
View File
@@ -39,7 +39,6 @@ void gl_init(int w, int h, int bpp, int depth, int fsaa)
glEnable(GL_LINE_SMOOTH);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
glEnable(GL_POLYGON_OFFSET_LINE);
glPolygonOffset(-3.0, -3.0);
glCullFace(GL_FRONT);
@@ -683,9 +682,11 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
if(editmode)
{
if(cursordepth==1.0f) worldpos = camera1->o;
glEnable(GL_POLYGON_OFFSET_LINE);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
cursorupdate();
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glDisable(GL_POLYGON_OFFSET_LINE);
}
extern vector<vertex> verts;