Skip to content

Instantly share code, notes, and snippets.

@tuzhong007
tuzhong007 / glfw_ship.cpp
Created March 18, 2023 01:41 — forked from ad8e/glfw_ship.cpp
instructions to use skia and glfw together. (download, installation, first program). maybe broken, I tried to fix it without compiling. patches welcome (or maintainership). resolution with pixel scaling is borked. see replies for details
/* Note: this Google copyright notice only applies to the original file, which has large sections copy-pasted here. my changes are under CC0 (public domain).
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
The official instructions don't work well. These alternative instructions are intended to be the shortest path to get a minimal setup running.