aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-22 17:21:52 +0200
committerDavid Robillard <d@drobilla.net>2019-09-03 08:32:16 +0200
commitdacaaa5f328ac2598123aa1f0744ddd68c87e9cc (patch)
tree31bdcb5effdff7d84f946a577cd77d6462dd6083 /pugl/pugl.h
parent61476f5de49b20a6836186a82082bc2b7c70e971 (diff)
downloadpugl-dacaaa5f328ac2598123aa1f0744ddd68c87e9cc.tar.gz
pugl-dacaaa5f328ac2598123aa1f0744ddd68c87e9cc.tar.bz2
pugl-dacaaa5f328ac2598123aa1f0744ddd68c87e9cc.zip
Move puglGetTime() to PuglWorld
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 0dc5fc3..e7c7333 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -446,6 +446,16 @@ PUGL_API void
puglFreeWorld(PuglWorld* world);
/**
+ Return the time in seconds.
+
+ This is a monotonically increasing clock with high resolution. The returned
+ time is only useful to compare against other times returned by this
+ function, its absolute value has no meaning.
+*/
+PUGL_API double
+puglGetTime(const PuglWorld* world);
+
+/**
@}
@name Initialization
Configuration functions which must be called before creating a window.
@@ -748,16 +758,6 @@ PUGL_API PuglGlFunc
puglGetProcAddress(const char* name);
/**
- Return the time in seconds.
-
- This is a monotonically increasing clock with high resolution. The returned
- time is only useful to compare against other times returned by this
- function, its absolute value has no meaning.
-*/
-PUGL_API double
-puglGetTime(PuglView* view);
-
-/**
Request a redisplay on the next call to puglProcessEvents().
*/
PUGL_API void