Skip to content
Snippets Groups Projects
Commit 82c11c75 authored by DarkGod's avatar DarkGod
Browse files

When dragging stuff around the icon is slightly transparent

fixed a font height issue
parent 5b1fbf2b
No related branches found
No related tags found
No related merge requests found
......@@ -893,7 +893,7 @@ static int sdl_font_draw(lua_State *L)
int b = luaL_checknumber(L, 6);
bool no_linefeed = lua_toboolean(L, 7);
bool direct_uid_draw = lua_toboolean(L, 8);
int h = TTF_FontLineSkip(*f);
int h = TTF_FontHeight(*f);
SDL_Color color = {r,g,b};
int fullmax = max_texture_size / 2;
......
......@@ -664,10 +664,10 @@ void call_draw(int nb_keyframes)
1, 0,
};
GLfloat colors[4*4] = {
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 0.6,
1, 1, 1, 0.6,
1, 1, 1, 0.6,
1, 1, 1, 0.6,
};
glTexCoordPointer(2, GL_FLOAT, 0, texcoords);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment