Skip to content

Opengl renderer seems to be broken on windows system #12

@Ezeer

Description

@Ezeer

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions