Skip to content

Commit

Permalink
freetype2 build src
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasvlevi committed May 4, 2024
1 parent 4d1924e commit 4350d48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bindings/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ int createWindow(lua_State *L) {

glEnable(GL_LINE_SMOOTH);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);

#ifndef _WIN32
glEnable(GL_MULTISAMPLE);
#endif
glHint(GL_POLYGON_SMOOTH_HINT, GL_FASTEST);
glEnable(GL_POLYGON_SMOOTH);

Expand Down
4 changes: 4 additions & 0 deletions src/lu5_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#include "lu5_color.h"
#include "lu5_logger.h"

#ifndef GL_CLAMP_TO_EDGE
#define GL_CLAMP_TO_EDGE 0x812F
#endif

#include <ft2build.h>
#include FT_FREETYPE_H

Expand Down

0 comments on commit 4350d48

Please sign in to comment.