commit
043e5699ac
|
@ -59,7 +59,6 @@ X_STATUS GraphicsSystem::Setup(cpu::Processor* processor,
|
||||||
// It's shared with the display context so that we can resolve framebuffers
|
// It's shared with the display context so that we can resolve framebuffers
|
||||||
// from it.
|
// from it.
|
||||||
processor_context = provider()->CreateOffscreenContext();
|
processor_context = provider()->CreateOffscreenContext();
|
||||||
processor_context->ClearCurrent();
|
|
||||||
});
|
});
|
||||||
if (!processor_context) {
|
if (!processor_context) {
|
||||||
xe::FatalError(
|
xe::FatalError(
|
||||||
|
|
|
@ -31,7 +31,7 @@ void NotifyListener::Initialize(uint64_t mask) {
|
||||||
|
|
||||||
void NotifyListener::EnqueueNotification(XNotificationID id, uint32_t data) {
|
void NotifyListener::EnqueueNotification(XNotificationID id, uint32_t data) {
|
||||||
// Ignore if the notification doesn't match our mask.
|
// Ignore if the notification doesn't match our mask.
|
||||||
if ((mask_ & uint64_t(1 << (id >> 25))) == 0) {
|
if ((mask_ & uint64_t(1ULL << (id >> 25))) == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue