mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00
work towards consistent platform file/symbol naming
we've got into a bit of a mess with how we name platform specific symbols and files, so this is a first pass at trying to tidy that up. All platform specific symbols should be named like cogl_<platform>_symbol_name and similarly files should be named like cogl-<platform>-filename.c This patch tackles the X11 specific renderer/display APIs as a start. Signed-off-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
@@ -71,7 +71,7 @@ main (int argc, char **argv)
|
||||
renderer = cogl_renderer_new ();
|
||||
/* FIXME: This should conceptually be part of the configuration of
|
||||
* a renderer. */
|
||||
cogl_renderer_xlib_set_foreign_display (renderer, xdpy);
|
||||
cogl_xlib_renderer_set_foreign_display (renderer, xdpy);
|
||||
if (!cogl_renderer_connect (renderer, &error))
|
||||
{
|
||||
fprintf (stderr, "Failed to connect to a renderer: %s\n",
|
||||
|
Reference in New Issue
Block a user