You can also use the specs for auto-configuration of the program's settings.
point: check if game can run of that systemAnd what if not? You quit with a nice error message? :P
You can also use the specs for auto-configuration of the program's settings.Quotepoint: check if game can run of that systemAnd what if not? You quit with a nice error message? :P
You can also use the specs for auto-configuration of the program's settings.That's a much better use case ;)
And what if not? You quit with a nice error message? :Pit was morning and nothing else I could think of :D
You can also use the specs for auto-configuration of the program's settings.very nice idea, like in "Call Of Duty" and many others :) .
Have you searched before posting? This (http://en.sfml-dev.org/forums/index.php?topic=2541) might be interesting for you.
GL_VERSION = 4.2.0 - Build 10.18.10.3308
GL_VENDOR = Intel
GL_RENDERER = Intel(R) HD Graphics 4600
glGetString(GL_VERSION);
glGetString(GL_VENDOR);
glGetString(GL_RENDERER);
This info can be gathered with a couple simple calls from glew.hYou do know that glGetString() and those definitions are part of OpenGL since at least 1.1 right? You don't have to include/link GLEW to access them, because they are provided out of the box, even on Windows. And yes... you will always have to link against your OpenGL library anyway when using SFML no matter whether you like it or not, so that is also not a reason not to be able to do this.Code: [Select]glGetString(GL_VERSION);
glGetString(GL_VENDOR);
glGetString(GL_RENDERER);
This is what I do in my own project currently, to add this info to the log. But I'm sure others would appreciate it. And it would be nice if I didn't have to include/link to the glew stuff in my core app, but instead just rely on the SFML graphics lib.
You do know that glGetString() and those definitions are part of OpenGL since at least 1.1 right? You don't have to include/link GLEW to access them, because they are provided out of the box, even on Windows.
Have you searched before posting? This (http://en.sfml-dev.org/forums/index.php?topic=2541) might be interesting for you.