* working on windows
* minor fix
* working on macosx
* Oops! I reversed resolution and frequency on macos
* working on X11
* working on wayland
* update the readme
* format the readme
Co-authored-by: Carlos Aragones <>
* update documentation
* Fix typo
* Added some examples
* changed window names
* Minor fix
* Added mfb_update_events to all platforms. Checked on Windows, X11 and Wayland
* simplify CMake
* Upgrade to CMake 3.5, simplify script and generalize it
Now the users only have to add_directory and link_libraries(minifb) in CMake
* Renamed typo scrool by scroll
Added some checks
Removed some warnings
* fix issue 32
Co-authored-by: Carlos Aragones <>
Co-authored-by: caragones <carlos.aragonesmartinez-external@gemalto.com>
* update documentation
* Fix typo
* Added some examples
* changed window names
* Minor fix
* Added mfb_update_events to all platforms. Checked on Windows, X11 and Wayland
* simplify CMake
* Upgrade to CMake 3.5, simplify script and generalize it
Now the users only have to add_directory and link_libraries(minifb) in CMake
* Renamed typo scrool by scroll
Added some checks
Removed some warnings
* working Windows, X11 and Wayland
* fix issue 32
Co-authored-by: Carlos Aragones <>
Co-authored-by: caragones <carlos.aragonesmartinez-external@gemalto.com>
* update documentation
* Fix typo
* Added some examples
* changed window names
* Minor fix
* Added mfb_update_events to all platforms. Checked on Windows, X11 and Wayland
* simplify CMake
* Upgrade to CMake 3.5, simplify script and generalize it
Now the users only have to add_directory and link_libraries(minifb) in CMake
* Renamed typo scrool by scroll
Added some checks
Removed some warnings
* fix issue 32
In Catalina, shader creation will fail because of the following issue:
```
Compilation succeeded with:
program_source:22:21: warning: writable resources in non-void vertex function
vertex VertexOutput vertFunc2(unsigned int vID[[vertex_id]], device Vertex *pos [[buffer(0)]])
^
program_source:22:77: note: writable buffer defined here
vertex VertexOutput vertFunc2(unsigned int vID[[vertex_id]], device Vertex *pos [[buffer(0)]])
^
```
Adding const to ensure the buffer is read-only.
* update documentation
* Fix typo
* Added some examples
* changed window names
* Minor fix
* Added mfb_update_events to all platforms. Checked on Windows, X11 and Wayland
* simplify CMake
* Upgrade to CMake 3.5, simplify script and generalize it
Now the users only have to add_directory and link_libraries(minifb) in CMake