Re: Phix 1.0.1 uploaded

new topic     » goto parent     » topic index » view thread      » older message » newer message
begin said...

Hi,

found a tool that shows if opengl etc. is installed. It is.

I reinstalled the latest Nvidia and intel driver, but that changes nothing.

Found an m$ - helper in their store, but didn't help. This seems to be a real problem with Win11.

I suspect you have already effectively done this: https://www.youtube.com/watch?v=mGBesoTS51U or (similar but text) https://thegeekpage.com/opengl-not-supported/

Maybe something like https://www.khronos.org/opengl/wiki/Load_OpenGL_Functions#Windows will help (it makes no difference here):

demo/pGUI/opengl.e, lines 1680 on (changes marked 29/11/21, but don't clobber wglUseFontOutlines, and do make a backup first):

global function wglGetProcAddress(string name) 
    atom addr = c_func(xglGetProcAddress,{name}) 
--29/11/21 (removed) 
--  if addr<=0 then 
--      crash("Couldn't find " & name) 
--  end if 
    return addr 
end function 
 
function link_glext_func(string name, sequence args, atom result) 
    atom addr = wglGetProcAddress(name) 
--29/11/21 (added) 
    if addr<=3 then 
        return iup_c_func(opengl32, name, args, result) 
    end if 
    return define_c_func({},addr,args,result) 
end function 
 
 
function link_glext_proc(string name, sequence args) 
    atom addr = wglGetProcAddress(name) 
--29/11/21 (added) 
    if addr<=3 then 
        return iup_c_proc(opengl32, name, args) 
    end if 
    return define_c_proc({},addr,args) 
end function 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu