mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
compilation issues
This commit is contained in:
parent
252ab80b3e
commit
c1bdd28ce6
@ -561,13 +561,13 @@ st_timer_callback(EventLoopTimerRef timer, void *user_data) {
|
|||||||
void Panda3DBase::
|
void Panda3DBase::
|
||||||
timer_callback(EventLoopTimerRef timer) {
|
timer_callback(EventLoopTimerRef timer) {
|
||||||
// Check for new requests from the Panda3D plugin.
|
// Check for new requests from the Panda3D plugin.
|
||||||
P3D_instance *inst = P3D_check_request(0.0);
|
P3D_instance *inst = P3D_check_request_ptr(0.0);
|
||||||
while (inst != (P3D_instance *)NULL) {
|
while (inst != (P3D_instance *)NULL) {
|
||||||
P3D_request *request = P3D_instance_get_request(inst);
|
P3D_request *request = P3D_instance_get_request_ptr(inst);
|
||||||
if (request != (P3D_request *)NULL) {
|
if (request != (P3D_request *)NULL) {
|
||||||
handle_request(request);
|
handle_request(request);
|
||||||
}
|
}
|
||||||
inst = P3D_check_request(0.0);
|
inst = P3D_check_request_ptr(0.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check the download tasks.
|
// Check the download tasks.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user