Browse Source

Add bytes to xlib-opengl

master
blackle 3 years ago
parent
commit
9532dc2da3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      README.md

+ 1
- 1
README.md View File

@ -10,6 +10,6 @@ Example code for opening a glsl shader fullscreen with gtk. Closes with the stan
Example code for opening an html page fullscreen with gtk. Closes with the standard ALT+F4 on Ubuntu. WebGL is enabled however is not used in the example. Testing with webkit gtk has found that most(?) shadertoy shaders seem to work. It has yet to be seen if initializing a shader in javascript takes fewer bytes than with gtk's opengl code.
## xlib-opengl
## xlib-opengl - 1524 bytes
Example code for opening a glsl shader fullscreen with vanilla xlib. Unlike gtk-opengl, this does not pass in an iTime or render the shader more than once, and also must be closed with ESC. This code is based on the code for Cenotaph For Soda, a 4k gfx demo for Revision 2018

Loading…
Cancel
Save