mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Avoid some VC++ compiler warnings
This commit is contained in:
@@ -396,7 +396,7 @@ void Canvas::setupGrab()
|
||||
gl.setViewport({0, 0, width, height});
|
||||
|
||||
// Set up the projection matrix
|
||||
gl.matrices.projection.push_back(Matrix::ortho(0.0, width, 0.0, height));
|
||||
gl.matrices.projection.push_back(Matrix::ortho(0.0, (float) width, 0.0, (float) height));
|
||||
|
||||
// Make sure the correct sRGB setting is used when drawing to the canvas.
|
||||
if (GLAD_VERSION_1_0 || GLAD_EXT_sRGB_write_control)
|
||||
|
||||
Reference in New Issue
Block a user