vcpkg/ports/cairomm/0001-fix-build.patch

26 lines
760 B
Diff
Raw Normal View History

From b769f250a39df110db2615c0e0d85b52f2ab6e77 Mon Sep 17 00:00:00 2001
From: Mikhail Paulyshka <me@mixaill.tk>
Date: Sun, 12 Mar 2017 17:57:03 +0300
Subject: [PATCH] Fix build
---
cairomm/win32_surface.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cairomm/win32_surface.h b/cairomm/win32_surface.h
index 2e35b9a..c4454c4 100644
--- a/cairomm/win32_surface.h
+++ b/cairomm/win32_surface.h
@@ -84,6 +84,8 @@ public:
*/
static RefPtr<Win32Surface> create(HDC hdc);
+ static RefPtr<Win32Surface> create(Format format, int width, int height);
+
/** Creates a device-independent-bitmap surface not associated with any
* particular existing surface or device context. The created bitmap will be
* unititialized.
--
2.11.0.windows.1