Skip to content

Instantly share code, notes, and snippets.

@seyhajin
seyhajin / msvc_version.md
Created March 17, 2023 15:52
List of _MSC_VER and _MSC_FULL_VER

Visual Studio version and discrimination macros

Abbreviation Product name [Visual Studio version] VC++ version _MSC_VER _MSC_FULL_VER
2022 Visual Studio 2022 version 17.3.4 14.30 1933 193331630
2022 Visual Studio 2022 version 17.2.2 14.30 1932 193231329
2022 Visual Studio 2022 version 17.0.2 14.30 1930 193030706
2022 Visual Studio 2022 version 17.0.1 14.30 1930 193030705
2019 Update 11 Visual Studio 2019 version 16.11.2 14.28 1929 192930133
2019 Update 9 Visual Studio 2019 version
@seyhajin
seyhajin / readme.md
Last active February 22, 2023 11:21
Minimal sprite rendering example written in C with `SDL2` for windowing, `sokol_gfx` for graphics API using WebGL2/GLES3, `stb_image` for loading image, compiled in WebAssembly with Emscripten

webgl2-wasm-sdl-sokol-sprite

Minimal sprite rendering example written in C with SDL2 for windowing, sokol_gfx for graphics API using WebGL2/GLES3, stb_image for loading image, compiled in WebAssembly with Emscripten.

Step by step

  1. Clone the repositories sokol and stb in the deps folder
  2. Add an image (sky.png) in assets directory
  3. Compile and build with the following command (need Emscripten installed):