stuff-from-scratch/test/graphics/TestOpenGlRendering.cpp

23 lines
455 B
C++
Raw Normal View History

2021-09-26 12:40:52 +00:00
#include "TestCase.h"
#include "TestCaseRunner.h"
2023-01-05 13:16:52 +00:00
#include "MainApplication.h"
2022-11-11 11:48:42 +00:00
#include "GuiApplication.h"
2022-11-29 18:00:19 +00:00
#include "TestFramework.h"
2021-09-26 12:40:52 +00:00
#include <memory>
#include <string>
#include <iostream>
2022-11-29 18:00:19 +00:00
TEST_CASE(TestOpenGlRendering, "graphics")
2021-09-26 12:40:52 +00:00
{
2022-11-29 18:00:19 +00:00
auto app = std::make_unique<GuiApplication>();
2021-09-26 12:40:52 +00:00
2022-11-29 18:00:19 +00:00
app->setUiInterfaceBackend(UiInterfaceFactory::Backend::X11);
//app->setUiInterfaceBackend(UiInterfaceFactory::Backend::X11_RASTER);
2022-11-30 18:28:50 +00:00
//app->run();
2021-09-26 12:40:52 +00:00
};