Moved pow2ize declaration to ogl_init.h - patch by Kp

This commit is contained in:
zicodxx 2013-01-03 16:17:54 +01:00
parent 0f6d97bb65
commit f127189b89
3 changed files with 2 additions and 2 deletions

View file

@ -504,8 +504,6 @@ int gr_internal_color_string(int x, int y, char *s )
#else //OGL
int pow2ize(int x);//from ogl.c
int get_font_total_width(grs_font * font){
if (font->ft_flags & FT_PROPORTIONAL){
int i,w=0,c=font->ft_minchar;

View file

@ -4,6 +4,7 @@ D1X-Rebirth Changelog
--------
main/net_udp.c: Centralized UDP Broadcast function for IPv4 and IPv6 calls - patch by Kp
editor/med.c: Deleted unnecessary drop-to-shell feature; commented out unused ReadLispMacro - patches by Kp
2d/font.c, include/ogl_init.h: Moved pow2ize declaration to ogl_init.h - patch by Kp
20121102
--------

View file

@ -107,5 +107,6 @@ bool g3_draw_tmap_2(int nv,g3s_point **pointlist,g3s_uvl *uvl_list,g3s_lrgb *lig
void ogl_draw_vertex_reticle(int cross,int primary,int secondary,int color,int alpha,int size_offs);
void ogl_toggle_depth_test(int enable);
void ogl_set_blending();
int pow2ize(int x);//from ogl.c
#endif /* _OGL_INIT_H_ */