print sdl render
This commit is contained in:
parent
8d5b619884
commit
34e8c003d0
@ -51,6 +51,12 @@ int main(int argc, char** argv) {
|
|||||||
std::cerr << "SDL_CreateRenderer failed (" << SDL_GetError() << ")\n";
|
std::cerr << "SDL_CreateRenderer failed (" << SDL_GetError() << ")\n";
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
SDL_RendererInfo ri;
|
||||||
|
if (SDL_GetRendererInfo(renderer.get(), &ri) == 0) {
|
||||||
|
std::cout << "SDL Renderer: " << ri.name << "(f:" << ri.flags << ")\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
IMGUI_CHECKVERSION();
|
IMGUI_CHECKVERSION();
|
||||||
ImGui::CreateContext();
|
ImGui::CreateContext();
|
||||||
|
Loading…
Reference in New Issue
Block a user