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/pugl_internal.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pugl/pugl_internal.h') diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index 1238ebc..778ff1f 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -1,5 +1,5 @@ /* - Copyright 2012-2015 David Robillard + Copyright 2012-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 @@ -86,9 +86,10 @@ puglInit(int* pargc, char** argv) return NULL; } - view->impl = impl; - view->width = 640; - view->height = 480; + view->ctx_type = PUGL_GL; + view->impl = impl; + view->width = 640; + view->height = 480; return view; } -- cgit v1.2.1