yhgu
Topic Author
Posts: 4
Joined: 20 Oct 2014, 18:21

[Native] What is this error message ?

23 Oct 2014, 17:56

In NsGetKernel()->InitSystems();
ErrorHandler(filename = .\\Render\\GLRenderSystem\\Src\\GLRenderSystem.cpp, line=2860, desc = 0(1) : error C0000: syntax error, unexpected identifier, expecting \"::\" at token \"mediump\"\n )

SDK version : 1.1.12.5046
 
User avatar
jsantos
Site Admin
Posts: 2906
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Native] What is this error message ?

23 Oct 2014, 18:51

Are you using a GL3+ context? If affirmative, then you need NoesisGUI v1.2 (yet in beta but quite stable for the native API)
 
yhgu
Topic Author
Posts: 4
Joined: 20 Oct 2014, 18:21

Re: [Native] What is this error message ?

24 Oct 2014, 07:56

Okay. InitSystems probloem with GL3+ context was solved in SDK v1.2.

I have another problem in gXamlRenderer->Render(commands.commands.GetPtr());

IRender::Render break gl state of my application.

Can I get a complete list of gl state changes in IRender::Render function?
 
User avatar
jsantos
Site Admin
Posts: 2906
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Native] What is this error message ?

24 Oct 2014, 11:20

The list of GL changes can be found in the Leadwerks bindings:

https://github.com/FourthQuarter/NoesisLeadwerksWrapper

Although it would be better if you could avoid it by having a GL state cache manager that gets invalidated.
 
yhgu
Topic Author
Posts: 4
Joined: 20 Oct 2014, 18:21

Re: [Native] What is this error message ?

24 Oct 2014, 15:54

I've solved the problem.
Thank you for your prompt response.

Who is online

Users browsing this forum: No registered users and 0 guests