java


OpenGL Crashing


I'm trying to create a triangle strip using OpenGL (2D currently, but I want to make it 3D after). I'm using this code:
for(int y = 0; y < this.rows; y++) {
GL11.glBegin(GL11.GL_TRIANGLE_STRIP);
for(int x = 0; x < this.cols; x++) {
GL11.glVertex3f(x*scale, y*scale, 0f);
GL11.glVertex3f(x*scale, (y+1)*scale, 0f);
GL11.glVertex3f((x+1)*scale, y*scale, 0f);
GL11.glVertex3f((x+1)*scale, (y+1)*scale, 0f);
} GL11.glEnd();
}
However, when this code is run the program crashes with a core dump: https://pastebin.com/7sFm02q9
I'm confused, since I can't find anywhere referencing the error code.
Some information that may be useful:
Here's my pom.xml: https://pastebin.com/zdFFrpiN
I am using Maven
I am using a JFrame for the window of the program
I've tried using the Display class but it doesn't seem to exist for me.

Related Links

Java: My statements int he Main method are printing, but not in my other methods
Passing base64 encrypted string in the URL
How to create a private method which takes String in any uppercase/lowercase combination and return only the first letter uppercased
Can't find file error handling [duplicate]
Error in servlet url pattern matching implementation
How to solve java.lang.NoClassDefFoundError when creating bat file?
Understanding passing this in a medthod call in java
Methods with parameters
Android PHP POST Login
The most efficient implementation of adjacency list?
End of Line not Reading - Stream Tokenize Java
How can i make the main Thread as Daemon Thread in java?
Need to cross Compile JNI libraries in windows to run in linux using cygwin
Maven current project compiled with java 1.6 which has 2 dependencies on java 1.7 and 1.6
Exception in thread “main” java.net.UnknownHostException: services.gradle.org
it throws me error incompatible types: unexpected return value — return 10; please correct it make note where i am doing wrong code?

Categories

HOME
deployment
urbancode
gremlin
deezer
pycharm
layout
view
iterator
include
lodash
read-eval-print-loop
android-4.4-kitkat
google-docs
upload
add
communication
dax
u-sql
decimal
seaborn
after-effects
pugjs
excel-vba-mac
zapier
abi
graphicsmagick
realex-payments-api
language-agnostic
autosys
one-to-many
user-interaction
internet-explorer-9
fgetcsv
large-file-upload
nat
skia
socialengine
http-get
y86
mapbox-gl
sequential
swift3.0.2
c11
jna
ncalc
gulp-sourcemaps
firebase-admin
android-mediaprojection
isbn
heightmap
unixodbc
http-redirect
convertapi
taffy
dandelion
return-value
statsd
composite-key
memory-alignment
dynamics-sl
sonarlint-vs
httplistener
py2app
merge-conflict-resolution
bstr
gridview-sorting
lttng
separator
spidermonkey
fouc
purge
jqgrid-formatter
embedded-code
ibaction
method-parameters
geonetwork
system.reflection
sorl-thumbnail
qpainter
coldbox
android-imagebutton
xojo
tld
navigationservice
mysql-error-1062
poller
seaside
srs
orchardcms-1.7
clipper
browser-detection
spring-portlet-mvc
fireworks
hirefire
wise
revisions
user-friendly
multi-tier
ctp4
signal-handling
ntvdm.exe

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile