Ok, Built a VBO displaying program from scratch.
Just got it working, changed the contents of the buffers to draw a cube instead of a triangle.
Got this:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005c1e50d9, pid=8516, tid=8980
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b15) (build 1.8.0_45-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [nvoglv64.DLL+0xd650d9]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# F:\Dropbox\2-Documents\4-Java Programming\Empire_Architect_0.08\hs_err_pid8516.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
What’d I do wrong?
A little research told me that this may be caused by corrupted JVM files so I completely un/re installed x86 jre, 64bit jre And 64bit jdk - no effect.
Contents of the mentioned dump log file is here:
http://pastebin.java-gaming.org/0e0c58c932d1a
My Code is getting quite extensive as I try to unravel this VBO concept. I don’t know what code to post - ask and ye shall receive.
It goes away if I comment out the following line:
glDrawArrays(GL_TRIANGLES, 0, 3);
Which, you know, is kinda… necessary…