From 84ec1acced6a174410af36f8ed692bbf4774fb82 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 15 Sep 2011 15:35:32 +0200 Subject: [PATCH] winex11: Get rid of the WXRFormat typedef. --- dlls/winex11.drv/xrender.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c index db46eae5ca3..34a7bb5bb52 100644 --- a/dlls/winex11.drv/xrender.c +++ b/dlls/winex11.drv/xrender.c @@ -55,7 +55,7 @@ static BOOL X11DRV_XRender_Installed = FALSE; #define RepeatReflect 3 #endif -typedef enum wxr_format +enum wxr_format { WXR_FORMAT_MONO, WXR_FORMAT_GRAY, @@ -71,7 +71,7 @@ typedef enum wxr_format WXR_FORMAT_B8G8R8X8, WXR_NB_FORMATS, WXR_INVALID_FORMAT = WXR_NB_FORMATS -} WXRFormat; +}; typedef struct wine_xrender_format_template { @@ -233,7 +233,7 @@ static CRITICAL_SECTION xrender_cs = { &critsect_debug, -1, 0, 0, 0, 0 }; #define NATIVE_BYTE_ORDER LSBFirst #endif -static WXRFormat get_format_without_alpha( WXRFormat format ) +static enum wxr_format get_format_without_alpha( enum wxr_format format ) { switch (format) { @@ -1331,7 +1331,7 @@ static void UploadGlyph(struct xrender_physdev *physDev, int glyph, AA_Type form gsCacheEntry *entry = glyphsetCache + physDev->cache_index; gsCacheEntryFormat *formatEntry; UINT ggo_format = GGO_GLYPH_INDEX; - WXRFormat wxr_format; + enum wxr_format wxr_format; static const char zero[4]; static const MAT2 identity = { {0,1},{0,0},{0,0},{0,1} };