1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 15:17:25 -04:00

Remove completed todo

This commit is contained in:
Camilla Berglund 2016-05-23 22:59:11 +02:00
parent 0a668be1bf
commit 7fd7dca375

View File

@ -393,10 +393,7 @@ static GLFWbool createWindow(_GLFWwindow* window,
const _GLFWwndconfig* wndconfig, const _GLFWwndconfig* wndconfig,
Visual* visual, int depth) Visual* visual, int depth)
{ {
// Every window needs a colormap // Create a colormap based on the visual used by the current context
// Create one based on the visual used by the current context
// TODO: Decouple this from context creation
window->x11.colormap = XCreateColormap(_glfw.x11.display, window->x11.colormap = XCreateColormap(_glfw.x11.display,
_glfw.x11.root, _glfw.x11.root,
visual, visual,