comparison examples/tank_wars/render.cpp @ 305:b57d76dcc9ae prerelease

Merge
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 27 May 2016 17:51:34 +0100
parents 421a69d42943
children 493a07f6ec09
comparison
equal deleted inserted replaced
304:d2b7df6b355b 305:b57d76dcc9ae
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