Rastar Posted August 13, 2013 Posted August 13, 2013 I'm playing around with a third-party library which defines an enum for various renderers, among them "OPENGL". That seems to clash with the OPENGL preprocessor macro in the standard project template. Is there a way to solve this? Can I rename the macro? And do a search&replace in the Leadwerks header file? It would probably be safer to call the LE macros, __OPENGL__, __OPENGLES__ etc. Quote
Rastar Posted August 14, 2013 Author Posted August 14, 2013 The only two places I could find where those macros are used was in Leadwerks.h I've renamed the macro to __OPENGL__ in the header and build definition files and now things seem to be working. I really think those macros should be renamed in the standard files, name clashes are too likely. Quote
Recommended Posts
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.