aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-05-29 11:49:13 +0200
committerraysan5 <raysan5@gmail.com>2016-05-29 11:49:13 +0200
commitea5b00528b0cb1e5cc1e7169a195b75915c8607a (patch)
tree293f5c6132973e211c0cdefc006097b67a02774d /src/rlgl.h
parent27df983ee0ab72917756b95b49fb31319a6d813f (diff)
downloadraylib-ea5b00528b0cb1e5cc1e7169a195b75915c8607a.tar.gz
raylib-ea5b00528b0cb1e5cc1e7169a195b75915c8607a.zip
Improved render to texture
Support render texture size different than screen size
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index fa35dbc6..a3ba6cd5 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -247,6 +247,7 @@ void rlScalef(float x, float y, float z); // Multiply the current matrix b
void rlMultMatrixf(float *mat); // Multiply the current matrix by another matrix
void rlFrustum(double left, double right, double bottom, double top, double near, double far);
void rlOrtho(double left, double right, double bottom, double top, double near, double far);
+void rlViewport(int x, int y, int width, int height); // Set the viewport area
//------------------------------------------------------------------------------------
// Functions Declaration - Vertex level operations