Commit 71d54d36 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2daaa227
...@@ -80,8 +80,10 @@ struct _Background : IContext { ...@@ -80,8 +80,10 @@ struct _Background : IContext {
} }
}; };
static _Background _bg;
IContext* background() { IContext* background() {
return (_Background*)nil; // FIXME not valid in C++ (IContext* also carries vtab ptr) return &_bg; // NOTE nil is not valid in C++ (IContext* also carries vtab ptr)
} }
} // context:: } // context::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment