From cdd47a11d473b592a4516e736a65da957072c428 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 Jul 2016 16:00:14 -0400 Subject: Add support for Cairo on GL --- pugl/common.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pugl/common.h') diff --git a/pugl/common.h b/pugl/common.h index 54ec6ef..3abab82 100644 --- a/pugl/common.h +++ b/pugl/common.h @@ -1,5 +1,5 @@ /* - Copyright 2014 David Robillard + Copyright 2014-2016 David Robillard Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -56,8 +56,9 @@ typedef enum { Drawing context type. */ typedef enum { - PUGL_GL, - PUGL_CAIRO + PUGL_GL = 0x1, + PUGL_CAIRO = 0x2, + PUGL_CAIRO_GL = 0x3 } PuglContextType; /** -- cgit v1.2.1