Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityGML
CityGMLViewer
Commits
282708a8
Commit
282708a8
authored
May 12, 2022
by
Matthias Betz
Browse files
change shader version to 130
parent
e2548e8e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/hft/stuttgart/citygml/viewer/CityGMLViewer.java
View file @
282708a8
...
...
@@ -210,8 +210,6 @@ public class CityGMLViewer {
}
GLFW
.
glfwWindowHint
(
GLFW
.
GLFW_VISIBLE
,
GLFW
.
GLFW_FALSE
);
// Sets window to be visible
GLFW
.
glfwWindowHint
(
GLFW
.
GLFW_RESIZABLE
,
GLFW
.
GLFW_TRUE
);
// Sets whether the window is resizable
// GLFW.glfwWindowHint(GLFW.GLFW_CONTEXT_VERSION_MAJOR, 3);
// GLFW.glfwWindowHint(GLFW.GLFW_CONTEXT_VERSION_MINOR, 0);
GLFW
.
glfwWindowHint
(
GLFW
.
GLFW_SAMPLES
,
2
);
windowId
=
GLFW
.
glfwCreateWindow
(
width
,
height
,
title
,
0
,
0
);
...
...
src/main/resources/fragment.frag
View file @
282708a8
#version 1
50 core
#version 1
30
// Incoming interpolated (between vertices) color.
...
...
src/main/resources/vertex.vert
View file @
282708a8
#version 1
50 core
#version 1
30
// Incoming vertex position, Model Space.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment