Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rishel <nicholas_rishel>2021-07-05 20:10:20 +0300
committerNicholas Rishel <rishel.nick@gmail.com>2021-07-05 21:00:45 +0300
commitf3ec0d8e58595ef5fae3e2e9c541150db3bd3f1e (patch)
treebd9d60ecdae0c3963983ceae9cc1a703d5393103 /intern/ghost/test/gears/GHOST_Test.cpp
parentb66c21f8b0a73c9ad58eb3295b29fe4fadfc4bc8 (diff)
Replace Ghost integrals with stdint fixed width integers.
Also replace integer with bool in Ghost API when only used as boolean, and uint8* with char* in Ghost API when variable is a string. Reviewed By: brecht Differential Revision: https://developer.blender.org/D11617 Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
Diffstat (limited to 'intern/ghost/test/gears/GHOST_Test.cpp')
-rw-r--r--intern/ghost/test/gears/GHOST_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/ghost/test/gears/GHOST_Test.cpp b/intern/ghost/test/gears/GHOST_Test.cpp
index c9c497aacb4..fd0991907c7 100644
--- a/intern/ghost/test/gears/GHOST_Test.cpp
+++ b/intern/ghost/test/gears/GHOST_Test.cpp
@@ -54,7 +54,7 @@
static bool nVidiaWindows; // very dirty but hey, it's for testing only
-static void gearsTimerProc(GHOST_ITimerTask *task, GHOST_TUns64 time);
+static void gearsTimerProc(GHOST_ITimerTask *task, uint64_t time);
static class Application *fApp;
static GLfloat view_rotx = 20.0, view_roty = 30.0, view_rotz = 0.0;
@@ -71,7 +71,7 @@ void StereoProjection(float left,
float dist,
float eye);
-static void testTimerProc(GHOST_ITimerTask * /*task*/, GHOST_TUns64 time)
+static void testTimerProc(GHOST_ITimerTask * /*task*/, uint64_t time)
{
std::cout << "timer1, time=" << (int)time << "\n";
}
@@ -731,7 +731,7 @@ int main(int /*argc*/, char ** /*argv*/)
return 0;
}
-static void gearsTimerProc(GHOST_ITimerTask *task, GHOST_TUns64 /*time*/)
+static void gearsTimerProc(GHOST_ITimerTask *task, uint64_t /*time*/)
{
fAngle += 2.0;
view_roty += 1.0;