Skip to content

Instantly share code, notes, and snippets.

@nezumisama
nezumisama / glxgears_rgba.c
Created December 28, 2013 17:36
Modified glxgears showing how to create alpha-enabled OpenGL rendering contexts on X11.
/* building:
gcc glxgears_rgba.c -o glxgears_rgba -lGL -lX11 -lm -lXrender
*/
/*
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation