Skip to content

Commit f01bfb0

Browse files
authored
Remove 3D/WebGL context command line instruction
Remove outdated instruction regarding 3D/WebGL context usage.
1 parent 3ab211a commit f01bfb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wiki/pygbag/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ If using pygame-zero (mostly untested), put `#!pgzrun` near the top of main.py.
169169
/dist
170170
```
171171
### Using 3D/WebGL context ?
172-
Add `--template noctx.tmpl` to pygbag command line if using 3D/WebGL ( eg Panda3D / Harfang / raylib ) or pygame.sdl2 renderer.
172+
~~Add `--template noctx.tmpl` to pygbag command line if using 3D/WebGL ( eg Panda3D / Harfang / raylib ) or pygame.sdl2 renderer.~~
173173
nb: a context is either 2D (pygame) or 3D(pygame.sdl2/3D engines) you cannot switch after the mode is inited.
174174
but you can use pygame 2D inside a 3D engine at the cost of surface to gpu texture conversion+uploading.
175175

0 commit comments

Comments
 (0)