mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Added caching of X11 NULL atom.
This commit is contained in:
@@ -524,6 +524,7 @@ static GLboolean initExtensions(void)
|
||||
detectEWMH();
|
||||
|
||||
// Find or create string format atoms
|
||||
_glfw.x11._NULL = XInternAtom(_glfw.x11.display, "NULL", False);
|
||||
_glfw.x11.UTF8_STRING =
|
||||
XInternAtom(_glfw.x11.display, "UTF8_STRING", False);
|
||||
_glfw.x11.COMPOUND_STRING =
|
||||
|
||||
Reference in New Issue
Block a user