The OpenGL spec states that if you create a pixmap using glXCreatePixmap you should use glXDestroyPixmap to destroy it. Signed-off-by: Robert Bragg <robert@linux.intel.com>