Fixed null pointer thingy
This commit is contained in:
parent
b0eb06c4cb
commit
55e11a329a
|
|
@ -85,9 +85,11 @@ make_output(const string &name,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
osxGraphicsStateGuardian *osxgsg;
|
||||
DCAST_INTO_R(osxgsg, gsg, NULL);
|
||||
|
||||
osxGraphicsStateGuardian *osxgsg = 0;
|
||||
if (gsg != 0) {
|
||||
DCAST_INTO_R(osxgsg, gsg, NULL);
|
||||
}
|
||||
|
||||
// First thing to try: a osxGraphicsWindow
|
||||
|
||||
if (retry == 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue