Fixing all other macros by adding RL_ prefix.

This commit is contained in:
Marco Lizza 2018-12-20 16:15:55 +01:00
commit b6cb51e3e8

View file

@ -93,7 +93,7 @@ int main()
//----------------------------------------------------------------------------------
BeginDrawing();
ClearBackground(BLACK);
ClearBackground(RL_BLACK);
DrawFPS(screenWidth - 90, screenHeight - 30);
@ -115,17 +115,17 @@ int main()
int jj = (((j + 1) < vertexCount) ? (j + 1) : 0); // Get next vertex or first to close the shape
Vector2 vertexB = GetPhysicsShapeVertex(body, jj);
DrawLineV(vertexA, vertexB, GREEN); // Draw a line between two vertex positions
DrawLineV(vertexA, vertexB, RL_GREEN); // Draw a line between two vertex positions
}
}
}
DrawText("Left mouse button to create a polygon", 10, 10, 10, WHITE);
DrawText("Right mouse button to create a circle", 10, 25, 10, WHITE);
DrawText("Press 'R' to reset example", 10, 40, 10, WHITE);
DrawText("Left mouse button to create a polygon", 10, 10, 10, RL_WHITE);
DrawText("Right mouse button to create a circle", 10, 25, 10, RL_WHITE);
DrawText("Press 'R' to reset example", 10, 40, 10, RL_WHITE);
DrawText("Physac", logoX, logoY, 30, WHITE);
DrawText("Powered by", logoX + 50, logoY - 7, 10, WHITE);
DrawText("Physac", logoX, logoY, 30, RL_WHITE);
DrawText("Powered by", logoX + 50, logoY - 7, 10, RL_WHITE);
EndDrawing();
//----------------------------------------------------------------------------------