Skip to content

Get the OpenGL graphics portable. #39

@tefu

Description

@tefu

There's still reports of the program crashing and not displaying the voxel world properly. I can't reproduce the bug, but the biggest offender we've had so far for OpenGL issues is here.

int lpAttribList[] = {WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 1, 0};

We've had success before in fixing some common OpenGL mistakes by changing this attribute list sent to the OpenGL canvas. If I could reproduce the issue, I'll try playing with what other people have tried, and maybe just playing with all the valid attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions