VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Library/GraphLib
diff options
context:
space:
mode:
Diffstat (limited to 'Library/GraphLib')
-rw-r--r--Library/GraphLib/EfiGraph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/GraphLib/EfiGraph.c b/Library/GraphLib/EfiGraph.c
index b8e8e2e..3e90646 100644
--- a/Library/GraphLib/EfiGraph.c
+++ b/Library/GraphLib/EfiGraph.c
@@ -235,6 +235,7 @@ BltPoint(
IN UINTN x,
IN UINTN y
) {
+ if (!draw) draw = &gDrawContext;
if (draw->Brush == NULL) return BltPointSingle(blt, draw, x, y);
else
{