GLFW

Patch submitters guide

Introduction

This is an introductory guide for people wishing to contribute code to the GLFW project.

Following the advice in this guide will both help us review your patch quicker and easier, and will make it more likely to be accepted into the project.


Important points


How to create a patch

  1. Check out the appropriate branch of the source tree
  2. Make the appropriate changes to the sources
  3. Produce a patch file in the unified diff format
  4. Submit the patch file to our patch tracker, including a description of both what the patch does and why it does it

Naming scheme

The naming of patch files for GLFW follows this pattern:

glfw-<version>_<platform>_<key>.patch

For instance, if your patch is against GLFW version 2.6 and it adds support for Spoo on Win32, it would be called glfw-2.6_win32_spoo.patch.