CheckForGLSLError()


Topic related to current development efforts on the core engine and demos

User avatar

Veteran

Posts: 79

Joined: Fri Apr 17, 2009 7:38 am

Post Thu Nov 05, 2009 12:36 pm

CheckForGLSLError()

Im playing with linux (ubuntu 9.10), and using open source graphics drivers (because ati's drivers doesnt support x1650 any more).
So I cant use GLSL so axiom throws exception in GLSLHelper.cs file, CheckForGLSLError() method at line 93
(called from GLSLProgram.cs, line 210)... Demo stops there.

Cg and hlsl errors are just written in log file, maybe this should too, and _not_ to stop the program. Removed that throw line and then demos works on linux (well, after modifying Font.cs (for testing!) as reported here http://sourceforge.net/apps/trac/axiomengine/ticket/139) ...
User avatar

Site Admin

Posts: 1041

Joined: Thu Mar 02, 2006 11:29 pm

Location: Boston, MA, USA

Post Thu Nov 05, 2009 3:17 pm

Re: CheckForGLSLError()

migel wrote:Im playing with linux (ubuntu 9.10), and using open source graphics drivers (because ati's drivers doesnt support x1650 any more).
So I cant use GLSL so axiom throws exception in GLSLHelper.cs file, CheckForGLSLError() method at line 93
(called from GLSLProgram.cs, line 210)... Demo stops there.

Cg and hlsl errors are just written in log file, maybe this should too, and _not_ to stop the program. Removed that throw line and then demos works on linux

Thanks, will fix that.

migel wrote: (well, after modifying Font.cs (for testing!) as reported here http://sourceforge.net/apps/trac/axiomengine/ticket/139) ...

Yep, found that one myself. It's a mono bug I'm pretty sure, putting together a test case for them. A different workaround is to avoid TTF's and use a FontSheet.
Borrillis
The Steward of Axiom

Return to Engine Development

Who is online

Registered users: MSN [Bot], Yahoo [Bot]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.