mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
missing header
This commit is contained in:
@@ -718,9 +718,9 @@ RCreateContext(Display *dpy, int screen_number, RContextAttributes *attribs)
|
|||||||
{
|
{
|
||||||
unsigned long flags = 0;
|
unsigned long flags = 0;
|
||||||
|
|
||||||
if (context->attribs->render_mode == RDitheredRendering)
|
if (context->attribs->render_mode == RDitheredRendering) {
|
||||||
flags |= HERMES_CONVERT_DITHER;
|
flags |= HERMES_CONVERT_DITHER;
|
||||||
|
}
|
||||||
context->hermes_data->converter = Hermes_ConverterInstance(flags);
|
context->hermes_data->converter = Hermes_ConverterInstance(flags);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
24
wrlib/wrasterP.h
Normal file
24
wrlib/wrasterP.h
Normal 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
|
||||||
Reference in New Issue
Block a user