mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Renamed context API init/terminate functions.
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@ static pthread_key_t _glfwCurrentTLS;
|
||||
// Initialize OpenGL support
|
||||
//========================================================================
|
||||
|
||||
int _glfwInitOpenGL(void)
|
||||
int _glfwInitContextAPI(void)
|
||||
{
|
||||
if (pthread_key_create(&_glfwCurrentTLS, NULL) != 0)
|
||||
{
|
||||
@@ -63,7 +63,7 @@ int _glfwInitOpenGL(void)
|
||||
// Terminate OpenGL support
|
||||
//========================================================================
|
||||
|
||||
void _glfwTerminateOpenGL(void)
|
||||
void _glfwTerminateContextAPI(void)
|
||||
{
|
||||
pthread_key_delete(_glfwCurrentTLS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user