From 0f5581f53f73a92d33826c4771553a9683376e67 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 18 Jun 2026 00:08:54 +0200 Subject: Adds unit testing scaffold and build tests --- core/client.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'core/client.cpp') diff --git a/core/client.cpp b/core/client.cpp index d541129..750f2be 100644 --- a/core/client.cpp +++ b/core/client.cpp @@ -22,7 +22,6 @@ // [section] includes // ---------------------------------------------------------------------------- #include -#include #include #include #include @@ -348,8 +347,6 @@ std::array g_hm_colormap = std::to_array({ {0.988f, 1.000f, 0.643f, 1.f}, }); -PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; - // ---------------------------------------------------------------------------- // [section] string comparator definition // ---------------------------------------------------------------------------- @@ -747,7 +744,7 @@ void PlotHeatmap::render_internal(const ImVec2 &frame_size) { assert(new_tex_id); if (m_tex_id) { - glCopyImageSubData( + ((PFNGLCOPYIMAGESUBDATAPROC)glfwGetProcAddress("glCopyImageSubData"))( m_tex_id, GL_TEXTURE_2D, 0, 0, rows_to_chop_off, 0, new_tex_id, GL_TEXTURE_2D, 0, 0, 0, 0, g_hm_pixel_count, m_rows_rendered - rows_to_chop_off, 1 @@ -1464,9 +1461,6 @@ void init() { glfwSwapInterval(0); #endif - glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)glfwGetProcAddress("glCopyImageSubData"); - assert(glCopyImageSubData); - log_info("Initializing ImGui"); IMGUI_CHECKVERSION(); ImGui::CreateContext(); -- cgit v1.2.1