fix for gdi case
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@660 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
c81dc334b0
commit
d96b74c1b1
3 changed files with 7 additions and 8 deletions
|
|
@ -83,8 +83,7 @@ static int create(MwWidget handle) {
|
|||
attribs[3] = 24;
|
||||
attribs[4] = None;
|
||||
|
||||
while(glpath[glincr] != NULL && (o->lib = dlopen(glpath[glincr++], RTLD_LAZY)) == NULL)
|
||||
;
|
||||
while(glpath[glincr] != NULL && (o->lib = dlopen(glpath[glincr++], RTLD_LAZY)) == NULL);
|
||||
|
||||
o->glXChooseVisual = (MWglXChooseVisual)dlsym(o->lib, "glXChooseVisual");
|
||||
o->glXCreateContext = (MWglXCreateContext)dlsym(o->lib, "glXCreateContext");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue