Skip to content

Commit 1fec1cc

Browse files
committed
display
1 parent 6e4afbc commit 1fec1cc

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/function_prefix_checker.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,9 @@ jobs:
4848
# run: bash .github/function_prefix_checker.bash src/derivatives.o
4949
- name: Checking display.o
5050
run: bash .github/function_prefix_checker.bash src/display.o
51+
- name: Checking fmemopen.o
52+
run: bash .github/function_prefix_checker.bash src/fmemopen.o
53+
- name: Checking frequency_analysis.o
54+
run: bash .github/function_prefix_checker.bash src/frequency_analysis.o
55+
#- name: Checking gravity.o
56+
# run: bash .github/function_prefix_checker.bash src/gravity.o

src/display.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
#ifndef _DISPLAY_H
2626
#define _DISPLAY_H
2727

28+
#include "rebound.h"
29+
void reb_display_settings_init(struct reb_simulation*r, struct reb_display_settings* s);
30+
2831
#ifdef OPENGL
2932
#ifdef __EMSCRIPTEN__
3033
#include <emscripten.h>

src/simulation.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,6 @@ void reb_simulation_set_serialized_particle_data(struct reb_simulation* r, doubl
10831083
}
10841084
}
10851085

1086-
#ifdef OPENGL
10871086
void reb_simulation_add_display_settings(struct reb_simulation*r){
10881087
if (r->display_settings){
10891088
reb_simulation_error(r,"Simulation already has display settings.");
@@ -1092,5 +1091,4 @@ void reb_simulation_add_display_settings(struct reb_simulation*r){
10921091
r->display_settings = calloc(1,sizeof(struct reb_display_settings));
10931092
reb_display_settings_init(r, r->display_settings);
10941093
}
1095-
#endif // OPENGL
10961094

0 commit comments

Comments
 (0)