diff options
| author | Peter0x44 <[email protected]> | 2024-06-20 23:38:43 +0100 |
|---|---|---|
| committer | Peter0x44 <[email protected]> | 2024-06-20 23:38:43 +0100 |
| commit | 8ed354f7fb32b064b5f082adc127011cca078077 (patch) | |
| tree | 6d58a6babebec60a55bca0b2498cc51592440227 | |
| parent | 640693705326544bc05437c9788e8d3ef8f4f254 (diff) | |
| download | raylib-DrawTexturePro-interactive-demo-8ed354f7fb32b064b5f082adc127011cca078077.tar.gz raylib-DrawTexturePro-interactive-demo-8ed354f7fb32b064b5f082adc127011cca078077.zip | |
Use OpenGL ES3 for GL_REPEAT
Specifying a larger source rectangle than the texture only works if
GL_REPEAT does, and GL_REPEAT only works on OpenGL ES3
Raylib must be built with GRAPHICS=GRAPHICS_API_OPENGL_ES3 for this to
work on web.
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ desktop: zig cc -target native main.c -o game -lGL -lm -lpthread -ldl -lrt -lX11 -Iraylib/src -Iraygui/src lib/tux/libraylib.a && ./game web: - emcc -Os -Wall main.c -o game -Iraylib/src -Iraygui/src lib/web/libraylib.a -o output/index.html -s USE_GLFW=3 -DPLATFORM_WEB --shell-file raylib/src/minshell.html -s TOTAL_MEMORY=268435456 -s ASYNCIFY --preload-file ./assets + emcc -Os -Wall main.c -o game -Iraylib/src -Iraygui/src lib/web/libraylib.a -o output/index.html -s USE_GLFW=3 -s FULL_ES3 -DPLATFORM_WEB --shell-file raylib/src/minshell.html -s TOTAL_MEMORY=268435456 -s ASYNCIFY --preload-file ./assets |
