Hi !
I make my branch compiles on Windows (via MinGW) but 3dmeditor.exe raises a SegV due to function named glActiveTextureARB() (for example when importing a 3do file). In the file glfunc.cpp I can see a global variable MultiTexturing, which is equals to `false`.
My Windows is running from a VMWare. As far I know DirectX 9 is fully supported but not really OpenGL, so it may be the cause.
How should I properly disable all calls to this function ?
In fact what is the common way you already use to do it ? (it seems it should be if (MultiTexturing) {})
MultiTexturing / Windows / OpenGL VMWare
MultiTexturing / Windows / OpenGL VMWare
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
just set MultiTexturing to false after initializing OpenGL extensions (otherwise it'll set it back to true). Beware that this will make shaded water rendering impossible.
Also check if glActiveTextureARB == NULL when you call it. If it's the case then may be I forgot to get its address at initialization time (it's not required on Linux but on some platforms it is).
I think I never tested TA3D on a platform that doesn't support multi texturing so it may not work without this extension because it uses calls to related functions a bit everywhere.
Also check if glActiveTextureARB == NULL when you call it. If it's the case then may be I forgot to get its address at initialization time (it's not required on Linux but on some platforms it is).
I think I never tested TA3D on a platform that doesn't support multi texturing so it may not work without this extension because it uses calls to related functions a bit everywhere.
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 13 guests