mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
fix plugin for Safari 5 lameness
This commit is contained in:
parent
b2cc3f3490
commit
443fff604b
@ -3864,6 +3864,7 @@ add_cocoa_modifier_flags(unsigned int &swb_flags, int modifiers) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void P3DInstance::
|
||||
send_notify(const string &message) {
|
||||
nout << "send_notify(" << message << ")\n";
|
||||
P3D_request *request = new P3D_request;
|
||||
request->_instance = NULL;
|
||||
request->_request_type = P3D_RT_notify;
|
||||
|
@ -210,6 +210,12 @@ begin() {
|
||||
set_failed();
|
||||
return;
|
||||
}
|
||||
#else
|
||||
// While Safari 5 on Mac claims to provide this function, it doesn't
|
||||
// appear to work. (!) So we pretend we never have it on Mac.
|
||||
// Fortunately, this hack does us no harm because the _request_timer
|
||||
// hack works fine on OSX.
|
||||
has_plugin_thread_async_call = false;
|
||||
#endif // __APPLE__
|
||||
|
||||
string url = PANDA_PACKAGE_HOST_URL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user