Mercurial > hg > beaglert
comparison examples/tank_wars/render.cpp @ 303:421a69d42943 prerelease
Changed BeagleRT -> Bela in defines and thread names; some preliminary mux capelet stuff
author | andrewm |
---|---|
date | Fri, 27 May 2016 17:40:44 +0100 |
parents | e4392164b458 |
children | 493a07f6ec09 |
comparison
equal
deleted
inserted
replaced
302:b26e7c61e3b6 | 303:421a69d42943 |
---|---|
125 gGameFrameInterval = context->analogSampleRate / gGameFramesPerSecond; | 125 gGameFrameInterval = context->analogSampleRate / gGameFramesPerSecond; |
126 gSamplesUntilNextFrame = gGameFrameInterval; | 126 gSamplesUntilNextFrame = gGameFrameInterval; |
127 | 127 |
128 // Initialise auxiliary tasks | 128 // Initialise auxiliary tasks |
129 if((gScreenUpdateTask = Bela_createAuxiliaryTask(&screen_update, 90, | 129 if((gScreenUpdateTask = Bela_createAuxiliaryTask(&screen_update, 90, |
130 "beaglert-screen-update")) == 0) | 130 "bela-screen-update")) == 0) |
131 return false; | 131 return false; |
132 | 132 |
133 return true; | 133 return true; |
134 } | 134 } |
135 | 135 |