mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-13 22:08:48 +00:00
Improved render to texture
Support render texture size different than screen size
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user