Use only the original Window on ddpy (fixes GH-93)
glXSwapBuffers is a no-op for pixmaps
Use TEXTURE_RECTANGLE instead of (npot) TEXTURE_2D
Use a double-buffered texture on ddpy