fix graphic bug

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@85 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-01 00:43:09 +00:00
parent a5200bdb3f
commit a95e2d0e45
5 changed files with 14 additions and 7 deletions

View File

@@ -52,7 +52,8 @@ static void create(MwWidget handle) {
o->visual = glXChooseVisual(handle->lowlevel->display, DefaultScreen(handle->lowlevel->display), attribs);
o->gl = glXCreateContext(handle->lowlevel->display, o->visual, NULL, GL_TRUE);
#endif
handle->internal = o;
handle->internal = o;
handle->lowlevel->copy_buffer = 0;
MwSetDefault(handle);
}