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
|
||||
// from it.
|
||||
processor_context = provider()->CreateOffscreenContext();
|
||||
processor_context->ClearCurrent();
|
||||
});
|
||||
if (!processor_context) {
|
||||
xe::FatalError(
|
||||
|
|
|
@ -31,7 +31,7 @@ void NotifyListener::Initialize(uint64_t mask) {
|
|||
|
||||
void NotifyListener::EnqueueNotification(XNotificationID id, uint32_t data) {
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue