Don't do line smoothing in OpenGLES
This commit is contained in:
parent
4ebfee7b9d
commit
72d9054239
|
|
@ -1500,13 +1500,17 @@ float rlGetLineWidth(void)
|
||||||
// Enable line aliasing
|
// Enable line aliasing
|
||||||
void rlEnableSmoothLines(void)
|
void rlEnableSmoothLines(void)
|
||||||
{
|
{
|
||||||
|
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_21) || defined(GRAPHICS_API_OPENGL_11)
|
||||||
glEnable(GL_LINE_SMOOTH);
|
glEnable(GL_LINE_SMOOTH);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable line aliasing
|
// Disable line aliasing
|
||||||
void rlDisableSmoothLines(void)
|
void rlDisableSmoothLines(void)
|
||||||
{
|
{
|
||||||
|
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_21) || defined(GRAPHICS_API_OPENGL_11)
|
||||||
glDisable(GL_LINE_SMOOTH);
|
glDisable(GL_LINE_SMOOTH);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unload framebuffer from GPU memory
|
// Unload framebuffer from GPU memory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user