TWINE: removed unused method parameters

This commit is contained in:
Martin Gerhardy
2020-11-28 01:09:44 +01:00
parent 82df68fb11
commit 6f75c8a823
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -955,7 +955,7 @@ void Renderer::renderPolygonsDither(uint8 *out, int vtop, int32 vsize, int32 col
void Renderer::renderPolygonsMarble(uint8 *out, int vtop, int32 vsize, int32 color) const {
}
void Renderer::renderPolygons(int32 renderType, vertexData *vertices, int32 /*numVertices*/, int32 color, int vleft, int vright, int vtop, int vbottom) {
void Renderer::renderPolygons(int32 renderType, int32 color, int vleft, int vright, int vtop, int vbottom) {
uint8 *out = (uint8*)_engine->frontVideoBuffer.getBasePtr(0, vtop);
const int32 vsize = vbottom - vtop + 1;
@@ -1000,7 +1000,7 @@ void Renderer::renderPolygons(int32 polyRenderType, int32 color) {
int vbottom = 0;
vertexData *vertices = (vertexData *)vertexCoordinates;
computePolygons(polyRenderType, vertices, numOfVertex, vleft, vright, vtop, vbottom);
renderPolygons(polyRenderType, vertices, numOfVertex, color, vleft, vright, vtop, vbottom);
renderPolygons(polyRenderType, color, vleft, vright, vtop, vbottom);
}
void Renderer::circleFill(int32 x, int32 y, int32 radius, int8 color) {
+1 -1
View File
@@ -209,7 +209,7 @@ private:
void renderPolygonsMarble(uint8 *out, int vtop, int32 vsize, int32 color) const;
void computePolygons(int16 polyRenderType, vertexData *vertices, int32 numVertices, int &vleft, int &vright, int &vtop, int &vbottom);
void renderPolygons(int32 renderType, vertexData *vertices, int32 numVertices, int32 color, int vleft, int vright, int vtop, int vbottom);
void renderPolygons(int32 renderType, int32 color, int vleft, int vright, int vtop, int vbottom);
public:
Renderer(TwinEEngine *engine) : _engine(engine) {}