mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 21:55:09 +00:00
feat: Remove temporary graphics initialization code from Run method
This commit is contained in:
@@ -68,8 +68,6 @@ void ServiceBasedApp::Run() {
|
||||
}
|
||||
|
||||
// Initialize graphics after window is created
|
||||
// Temporarily disabled for testing
|
||||
/*
|
||||
auto graphicsService = registry_.GetService<services::IGraphicsService>();
|
||||
if (graphicsService && windowService) {
|
||||
services::GraphicsConfig graphicsConfig;
|
||||
@@ -78,7 +76,6 @@ void ServiceBasedApp::Run() {
|
||||
graphicsService->InitializeDevice(windowService->GetNativeHandle(), graphicsConfig);
|
||||
graphicsService->InitializeSwapchain();
|
||||
}
|
||||
*/
|
||||
|
||||
// Connect services that depend on each other
|
||||
auto scriptService = registry_.GetService<services::IScriptService>();
|
||||
|
||||
Reference in New Issue
Block a user