1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

missing header

This commit is contained in:
kojima
2001-02-18 01:01:36 +00:00
parent 36ebcf1949
commit 26799953c9
2 changed files with 26 additions and 2 deletions

View File

@@ -718,9 +718,9 @@ RCreateContext(Display *dpy, int screen_number, RContextAttributes *attribs)
{
unsigned long flags = 0;
if (context->attribs->render_mode == RDitheredRendering)
if (context->attribs->render_mode == RDitheredRendering) {
flags |= HERMES_CONVERT_DITHER;
}
context->hermes_data->converter = Hermes_ConverterInstance(flags);
}
#endif

24
wrlib/wrasterP.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef WRASTERP_H_
#define WRASTERP_H_
#include <config.h>
#include "wraster.h"
#ifdef HAVE_HERMES
# include <Hermes/Hermes.h>
typedef struct RHermesData {
HermesHandle palette;
HermesHandle converter;
} RHermesData;
#endif
#endif