diff --git a/src/api/graphics.c b/src/api/graphics.c index b3760a04..6bae20e2 100644 --- a/src/api/graphics.c +++ b/src/api/graphics.c @@ -643,7 +643,7 @@ int l_lovrGraphicsTransform(lua_State* L) { return 0; } -// Drawing +// Rendering int l_lovrGraphicsClear(lua_State* L) { int index = 1; @@ -1271,7 +1271,7 @@ const luaL_Reg lovrGraphics[] = { { "scale", l_lovrGraphicsScale }, { "transform", l_lovrGraphicsTransform }, - // Drawing + // Rendering { "clear", l_lovrGraphicsClear }, { "points", l_lovrGraphicsPoints }, { "line", l_lovrGraphicsLine }, diff --git a/src/graphics/graphics.c b/src/graphics/graphics.c index 8bfe0863..5173de3d 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -368,7 +368,7 @@ void lovrGraphicsMatrixTransform(mat4 transform) { mat4_multiply(state.transforms[state.transform], transform); } -// Drawing +// Rendering VertexPointer lovrGraphicsGetVertexPointer(uint32_t count) { lovrMeshResize(state.defaultMesh, count); diff --git a/src/graphics/graphics.h b/src/graphics/graphics.h index 8c3cbf39..64d1e5b3 100644 --- a/src/graphics/graphics.h +++ b/src/graphics/graphics.h @@ -218,7 +218,7 @@ void lovrGraphicsRotate(float angle, float ax, float ay, float az); void lovrGraphicsScale(float x, float y, float z); void lovrGraphicsMatrixTransform(mat4 transform); -// Drawing +// Rendering VertexPointer lovrGraphicsGetVertexPointer(uint32_t capacity); void lovrGraphicsClear(Color* color, float* depth, int* stencil); void lovrGraphicsDraw(DrawOptions* draw);