Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opengl renderer seems to be broken on windows system #12

Open
Ezeer opened this issue Apr 3, 2016 · 0 comments
Open

Opengl renderer seems to be broken on windows system #12

Ezeer opened this issue Apr 3, 2016 · 0 comments

Comments

@Ezeer
Copy link

Ezeer commented Apr 3, 2016

Hi .
Like other forum's users , i had problems to run the demo apps with visual studio .
thread : http://gamekit.org/forum/viewtopic.php?f=3&t=3717

I've found that finally it's because of the OgreMain part , that fails to create a window with OGRE_RS_GL.
In OgreRoot.cpp :

RenderWindow* Root::createRenderWindow(const String &name, unsigned int width, unsigned int height,
bool fullScreen, const NameValuePairList *miscParams)
{
if (!mActiveRenderer)
{
OGRE_EXCEPT(Exception::ERR_INVALID_STATE,
"Cannot create window - no render "
"system has been selected.", "Root::createRenderWindow");
}

But using OGRE_RS_D3D9 in gkApplication.cpp instead , the program runs . ( AppCppDemo )

int main(int argc, char** argv)
{
TestMemory;

gkLogger::enable("AppCppDemo.log", GK_CPP_VERBOSE_LOG);

gkUserDefs prefs;
prefs.rendersystem = OGRE_RS_D3D9;
...
...

`

I'm in gamekit sdk for few hours only , i haven't tested yet the d3d renderer for the other demos ,
but they all failed with GL .
Duno why yet ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant