Jump to content

GLSL 1.20 is not supported - HELP


Chiblue
 Share

Recommended Posts

I am compiling a project I developed a few months back using 2.5, it was originally written using 2.4. Everything compiles normally but when I try to run the app the compiler (VS C++ 2008) returns:

 

The program '[6964] restrainer-Debug.exe: Native' has exited with code -1 (0xffffffff).

 

The engine.log has the following...

 

Leadwerks Engine 2.5

Initializing Renderer...

OpenGL Version:

GLSL Version:

Render device:

Vendor:

Error: GLSL 1.20 is not supported. Please update your graphics drivers or replace your hardware.

 

But when I create and build a base project with the rotating cude everything works correctly...

 

Any ideas?

If it's not Tactical realism then you are just playing..

Link to comment
Share on other sites

I found the problem, it is due to the declaration of my Framework variable,

 

Framework m_framewerk;

 

If I remove this the class is created normally, so I gues the question is why is this causing and exit exception of code -1. when I look at the demo applicaiton is uses TFrameWork as the type. Is Framework not available within 1.5?

If it's not Tactical realism then you are just playing..

Link to comment
Share on other sites

You are probably initializing Framework before Graphics is created. If you use LEO classes in your own classes, you should always specify Classname object(CREATE_LATER), else your classes will launch in a random order (in the order you declared their instances).

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Thanks, I would like to try that just to understand it, what is the syntax?

 

e.g. Framework fw(CREATE_LATER); <- like this?

 

I only see this as a parameter on world and camera classes, not framework...

 

An if so how would I actually creat the class variable before using it?

If it's not Tactical realism then you are just playing..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...