line width is a float in OpenGL for line AA

This commit is contained in:
Glenn Maynard
2004-06-20 01:26:28 +00:00
parent 92b4fff783
commit 0d0494a580
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ public:
// hacks for cell-shaded models // hacks for cell-shaded models
virtual void SetPolygonMode( PolygonMode pm ) {} virtual void SetPolygonMode( PolygonMode pm ) {}
virtual void SetLineWidth( int iWidth ) {} virtual void SetLineWidth( float fWidth ) {}
enum GraphicsFileFormat enum GraphicsFileFormat
{ {
+2 -2
View File
@@ -1826,9 +1826,9 @@ void RageDisplay_OGL::SetPolygonMode( PolygonMode pm )
glPolygonMode( GL_FRONT_AND_BACK, m ); glPolygonMode( GL_FRONT_AND_BACK, m );
} }
void RageDisplay_OGL::SetLineWidth( int iWidth ) void RageDisplay_OGL::SetLineWidth( float fWidth )
{ {
glLineWidth( iWidth ); glLineWidth( fWidth );
} }
CString RageDisplay_OGL::GetTextureDiagnostics( unsigned id ) const CString RageDisplay_OGL::GetTextureDiagnostics( unsigned id ) const
+1 -1
View File
@@ -67,7 +67,7 @@ public:
// hacks for cell-shaded models // hacks for cell-shaded models
virtual void SetPolygonMode( PolygonMode pm ); virtual void SetPolygonMode( PolygonMode pm );
virtual void SetLineWidth( int iWidth ); virtual void SetLineWidth( float fWidth );
CString GetTextureDiagnostics( unsigned id ) const; CString GetTextureDiagnostics( unsigned id ) const;