Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • gamedev/fggl
  • onuralpsezer/fggl
2 results
Show changes
Showing
with 1324 additions and 770 deletions
# Sources # Sources
find_package( glfw3 REQUIRED ) find_package(glfw3 REQUIRED)
include(CMakePrintHelpers) include(CMakePrintHelpers)
cmake_print_variables(GLFW_TARGETS) cmake_print_variables(GLFW_TARGETS)
...@@ -8,11 +8,11 @@ cmake_print_variables(GLFW_TARGETS) ...@@ -8,11 +8,11 @@ cmake_print_variables(GLFW_TARGETS)
target_link_libraries(fggl PUBLIC glfw fggl-glad) target_link_libraries(fggl PUBLIC glfw fggl-glad)
target_sources(fggl target_sources(fggl
PRIVATE PRIVATE
window.cpp window.cpp
input.cpp input.cpp
atlas.cpp atlas.cpp
) )
# OpenGL backend # OpenGL backend
add_subdirectory(ogl) add_subdirectory(ogl)
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# Sources # Sources
target_sources(fggl target_sources(fggl
PRIVATE PRIVATE
setup.cpp setup.cpp
canvas.cpp canvas.cpp
models.cpp models.cpp
debug.cpp debug.cpp
module.cpp meshes.cpp
) module.cpp
)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
namespace fggl::gfx::ogl4 { namespace fggl::gfx::ogl4 {
Graphics *WindowGraphics::create(display::Window &window) { auto WindowGraphics::create(display::Window &window) -> Graphics * {
return new OpenGL4Backend(m_storage, m_fonts); return new OpenGL4Backend(m_storage, m_fonts, m_assets, (GlFunctionLoader)glfwGetProcAddress);
} }
} }
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.