line width is a float in OpenGL for line AA
This commit is contained in:
@@ -234,7 +234,7 @@ public:
|
||||
|
||||
// hacks for cell-shaded models
|
||||
virtual void SetPolygonMode( PolygonMode pm ) {}
|
||||
virtual void SetLineWidth( int iWidth ) {}
|
||||
virtual void SetLineWidth( float fWidth ) {}
|
||||
|
||||
enum GraphicsFileFormat
|
||||
{
|
||||
|
||||
@@ -1826,9 +1826,9 @@ void RageDisplay_OGL::SetPolygonMode( PolygonMode pm )
|
||||
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
|
||||
|
||||
@@ -67,7 +67,7 @@ public:
|
||||
|
||||
// hacks for cell-shaded models
|
||||
virtual void SetPolygonMode( PolygonMode pm );
|
||||
virtual void SetLineWidth( int iWidth );
|
||||
virtual void SetLineWidth( float fWidth );
|
||||
|
||||
CString GetTextureDiagnostics( unsigned id ) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user