Searched refs:g_FontTexture (Results 1 – 1 of 1) sorted by relevance
68 static GLuint g_FontTexture = 0; variable93 if (!g_FontTexture) in ImGui_ImplOpenGL3_NewFrame()241 glGenTextures(1, &g_FontTexture); in ImGui_ImplOpenGL3_CreateFontsTexture()242 glBindTexture(GL_TEXTURE_2D, g_FontTexture); in ImGui_ImplOpenGL3_CreateFontsTexture()249 io.Fonts->TexID = (void *)(intptr_t)g_FontTexture; in ImGui_ImplOpenGL3_CreateFontsTexture()259 if (g_FontTexture) in ImGui_ImplOpenGL3_DestroyFontsTexture()262 glDeleteTextures(1, &g_FontTexture); in ImGui_ImplOpenGL3_DestroyFontsTexture()264 g_FontTexture = 0; in ImGui_ImplOpenGL3_DestroyFontsTexture()