diff options
| author | raysan5 <raysan5@gmail.com> | 2016-05-29 11:49:13 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-05-29 11:49:13 +0200 |
| commit | ea5b00528b0cb1e5cc1e7169a195b75915c8607a (patch) | |
| tree | 293f5c6132973e211c0cdefc006097b67a02774d /examples | |
| parent | 27df983ee0ab72917756b95b49fb31319a6d813f (diff) | |
| download | raylib-ea5b00528b0cb1e5cc1e7169a195b75915c8607a.tar.gz raylib-ea5b00528b0cb1e5cc1e7169a195b75915c8607a.zip | |
Improved render to texture
Support render texture size different than screen size
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/shaders_custom_uniform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/shaders_custom_uniform.c b/examples/shaders_custom_uniform.c index 32dd7ff1..74077143 100644 --- a/examples/shaders_custom_uniform.c +++ b/examples/shaders_custom_uniform.c @@ -89,6 +89,8 @@ int main() DrawGrid(10, 1.0f); // Draw a grid End3dMode(); + + DrawText("TEXT DRAWN IN RENDER TEXTURE", 200, 10, 30, RED); EndTextureMode(); // End drawing to texture (now we have a texture available for next passes) |
