diff options
author | Timothy Arceri <[email protected]> | 2018-05-11 15:33:22 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-05-18 09:21:24 +1000 |
commit | c0c69bd8ddf384379863d8b4bcbc670e86984ae5 (patch) | |
tree | 0f628db5e25e90edcc59bbd152898747f6812678 /src/mesa/main/polygon.c | |
parent | 8fde9429c36b75d9e5afec4e221aff9b47db54f6 (diff) |
mesa: drop GL_EXT_polygon_offset support
glPolygonOffset() has been part of the GL standard since 1.1. Also
niether AMD or Nvidia support this in their binary drivers.
Reviewed-by: Marek Olšák <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61761
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r-- | src/mesa/main/polygon.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index effd4d27fbd..ae8f2a85645 100644 --- a/src/mesa/main/polygon.c +++ b/src/mesa/main/polygon.c @@ -329,14 +329,6 @@ _mesa_PolygonOffset( GLfloat factor, GLfloat units ) } void GLAPIENTRY -_mesa_PolygonOffsetEXT( GLfloat factor, GLfloat bias ) -{ - GET_CURRENT_CONTEXT(ctx); - /* XXX mult by DepthMaxF here??? */ - _mesa_PolygonOffset(factor, bias * ctx->DrawBuffer->_DepthMaxF ); -} - -void GLAPIENTRY _mesa_PolygonOffsetClampEXT( GLfloat factor, GLfloat units, GLfloat clamp ) { GET_CURRENT_CONTEXT(ctx); |