Bug 547937 - [Snippets] Update OpenGL Snippets for current library version
Summary: [Snippets] Update OpenGL Snippets for current library version
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.12   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.13 M1   Edit
Assignee: Paul Pazderski CLA
QA Contact: Eric Williams CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2019-06-04 18:07 EDT by Paul Pazderski CLA
Modified: 2019-07-10 11:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pazderski CLA 2019-06-04 18:07:34 EDT
I tried to run the SWT OpenGL Snippets but failed and even if I have not much experience with Java+OpenGL I think the fault is not on my side but the Snippets are simply not compatible with current versions of the required libraries anymore.

Snippet 195 and 341:
GLContext, LWJGLException and especially GLU are not included in lwjgl-3.x anymore.

Snippet 209:
The import apparently changed from javax.media to com.jogamp and the "unversioned" GL interface no longer fits the old Snippet code.
Comment 1 Eclipse Genie CLA 2019-06-04 18:10:59 EDT
New Gerrit change created: https://git.eclipse.org/r/143311
Comment 3 Eric Williams CLA 2019-06-10 12:06:49 EDT
(In reply to Eclipse Genie from comment #2)
> Gerrit change https://git.eclipse.org/r/143311 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=55635f432dd8824cb107c035a00fa4435bbf93df

In master now, thanks for the fix Paul.
Comment 4 Eric Williams CLA 2019-07-10 11:29:45 EDT
Verified in I20190710-0610.