Fix instructions on disabling librosprite. Move #include for when
librosprite isn't installed svn path=/trunk/netsurf/; revision=4054
This commit is contained in:
parent
99dea0939b
commit
0ab7a1bd37
|
@ -59,13 +59,15 @@
|
|||
and JPEG libraries, colour management libraries, zlib, OpenSSL etc that
|
||||
NetSurf also depends on.
|
||||
|
||||
Compiling Sprite file support for GTK
|
||||
Compiling Sprite file support for GTK
|
||||
=======================================
|
||||
By default, sprite rendering is enabled. This requires librosprite to be
|
||||
built and installed. If you don't want to do this, sprite rendering can be
|
||||
disabled by deleting the following line in utils/config.h:
|
||||
built and installed. If you don't want to do this, remove the following line
|
||||
from util/config.h:
|
||||
|
||||
#define WITH_NSSPRITE
|
||||
#define WITH_NSSPRITE
|
||||
|
||||
Remove all references to librosprite in the Makefile.
|
||||
|
||||
To build librosprite, check out from svn://svn.rjek.com/jshaw/libsprite/trunk
|
||||
Build and install it:
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
|
||||
#ifdef WITH_NSSPRITE
|
||||
|
||||
#include <librosprite.h>
|
||||
|
||||
#define ERRCHK(x) do { \
|
||||
rosprite_error err = x; \
|
||||
if (err == ROSPRITE_EOF) { \
|
||||
|
|
Loading…
Reference in New Issue