permet escollir driver de gpu o no escollir-ne cap

This commit is contained in:
2026-03-28 01:14:41 +01:00
parent 02c1bf647e
commit 348a76090b
8 changed files with 90 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ class Screen {
auto getBorderSurface() -> std::shared_ptr<Surface>;
[[nodiscard]] auto getText() const -> std::shared_ptr<Text> { return text_; }
[[nodiscard]] auto getGameSurfaceDstRect() const -> SDL_FRect { return game_surface_dstrect_; }
[[nodiscard]] auto getGPUDriver() const -> const std::string& { return gpu_driver_; }
private:
// Estructuras