Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
SWE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
SWE
Commits
290f0766
Commit
290f0766
authored
Dec 03, 2012
by
Sebastian Rettenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation error when compiling openGL version without SDL_ttf
parent
52fe0314
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
visualization.cpp
src/opengl/visualization.cpp
+3
-2
No files found.
src/opengl/visualization.cpp
View file @
290f0766
...
@@ -34,8 +34,7 @@
...
@@ -34,8 +34,7 @@
*/
*/
Visualization
::
Visualization
(
int
windowWidth
,
int
windowHeight
,
const
char
*
window_title
,
Visualization
::
Visualization
(
int
windowWidth
,
int
windowHeight
,
const
char
*
window_title
,
int
_grid_xsize
,
int
_grid_ysize
)
int
_grid_xsize
,
int
_grid_ysize
)
:
windowHeight
(
windowHeight
),
:
indicesOffset
(
0L
),
indicesOffset
(
0L
),
indicesCount
(
0L
)
indicesCount
(
0L
)
{
{
// Initialize member variables
// Initialize member variables
...
@@ -52,6 +51,8 @@ Visualization::Visualization(int windowWidth, int windowHeight, const char* wind
...
@@ -52,6 +51,8 @@ Visualization::Visualization(int windowWidth, int windowHeight, const char* wind
initGLDefaults
();
initGLDefaults
();
initCUDA
();
initCUDA
();
#ifdef USESDLTTF
#ifdef USESDLTTF
this
->
windowHeight
=
windowHeight
;
text
=
new
Text
();
text
=
new
Text
();
text
->
addText
(
"Keys:"
);
text
->
addText
(
"Keys:"
);
#ifdef ASAGI
#ifdef ASAGI
...
...
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