const char* glXQueryExtensionsString(Display* dpy, int screen)
| 868 | |
| 869 | // const char* glXQueryExtensionsString(Display* dpy, int screen) |
| 870 | void gl_common_XQueryExtensionsString(CPU* cpu) { |
| 871 | KThread* thread = cpu->thread; |
| 872 | if (thread->process->glxStringExtensions) { |
| 873 | EAX = thread->process->glxStringExtensions; |
| 874 | } |
| 875 | const char* s = "GLX_ARB_multisample GLX_SGIX_fbconfig GLX_ARB_create_context GLX_ARB_create_context_profile WGL_ARB_create_context_profile GLX_ARB_create_context_no_error"; |
| 876 | thread->process->glxStringExtensions = thread->process->alloc(thread, (U32)strlen(s) + 1); |
| 877 | thread->memory->memcpy(thread->process->glxStringExtensions, s, (U32)strlen(s) + 1); |
| 878 | EAX = thread->process->glxStringExtensions; |
| 879 | } |
| 880 | |
| 881 | // const char* glXQueryServerString(Display* dpy, int screen, int name) |
| 882 | void gl_common_XQueryServerString(CPU* cpu) { |