-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a texture that updates every frame (#4)
* fill rectangle with a random texture * make the rectangle conver the entire window * create different randomly colored blocks each frame * replace glTexImage2D with glTexSubImage2D in render loop
- Loading branch information
1 parent
5e22cab
commit 5968393
Showing
1 changed file
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters