-- Set the Lua module search path
package.path = './lua/?.lua'
-- Load the game engine
local viewport = require 'engine.viewport'
-- Test module loading and binding. Must be called after the engine is loaded (require 'engine.viewport')
require 'tests.mod'
-- Create a windowed viewport
viewport.create(1280, 720, 'Woot Game Egine', false)
-- Load the GUI test
viewport.addNode(require 'tests.imgui')
-- viewport.addNode(require 'tests.images')
viewport.addNode(require 'tests.gl')
-- Run the tests
viewport.run()

-- Set the Lua module search path
package.path = './lua/?.lua'
-- Load the game engine
local viewport = require 'engine.viewport'
-- Test module loading and binding. Must be called after the engine is loaded (require 'engine.viewport')
require 'tests.mod'
-- Create a windowed viewport
viewport.create(1280, 720, 'Woot Game Egine', false)
-- Load the GUI test
viewport.addNode(require 'tests.gl')
viewport.addNode(require 'tests.imgui')
-- viewport.addNode(require 'tests.images')
-- Run the tests
viewport.run()

Move gl test before imgui test
Move gl test before imgui test
