Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 1: fix of the issue 205 + better GLU instanciation #207

Merged
merged 4 commits into from Jan 24, 2014
Merged

Patch 1: fix of the issue 205 + better GLU instanciation #207

merged 4 commits into from Jan 24, 2014

Conversation

ghost
Copy link

@ghost ghost commented Jan 24, 2014

No description provided.

Julien Gouesse added 4 commits January 24, 2014 09:53
Partial fix of the issue 205:
#205
Uses GLUgl2 instead of GLU to benefit of a full implementation
Uses GLU.createGLU(GL).
Same mistake than in JoglGL...
@ghost
Copy link
Author

ghost commented Jan 24, 2014

@gouessej Thanks for the fix. It used to be the way you said but I changed it during refactoring of the entire rendering system. I'm not a JOGL expert, but nothing I read suggested this was bad practice. It's good to know though!

@ghost
Copy link
Author

ghost commented Jan 24, 2014

Hi. I think I put a note about that into the official JOGL user's guide and no actively maintained API based on JOGL stores GL instances. Everybody can make mistakes, don't worry. Brian discovered your mistake and talked to me about that last night. If you have any doubt on anything about JOGL, let me know and please keep up the good work :) Only people who do nothing never make mistakes.

@ghost
Copy link
Author

ghost commented Jan 24, 2014

@3xp0n3nt I really mention this bad practice in the user guide, at the last paragraph in the subsection entitled "Writing a GLEventListener": http://jogamp.org/jogl/doc/userguide/#joglapi

I even discourage passing the GL instance (someone else edited my changes), just fetch a fresh instance every time you need one.

void256 added a commit that referenced this pull request Jan 24, 2014
Patch 1: fix of the issue 205 + better GLU instanciation
@void256 void256 merged commit df05986 into nifty-gui:1.4 Jan 24, 2014
@ghost
Copy link
Author

ghost commented Jan 25, 2014

@gouessej Thanks for the advice and the link!

Aaron Mahan
Founder & Lead Developer
Forerunner Games, LLC
http://forerunnergames.com/

On Fri, Jan 24, 2014 at 12:53 PM, void256 notifications@github.com wrote:

Merged #207 #207.


Reply to this email directly or view it on GitHubhttps://github.com//pull/207
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant