Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Feb 2, 2019
1 parent 0c0ab19 commit 1a6d0b2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gfx/drivers/gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void context_bind_hw_render(void *data, bool enable)
}

static void gl_load_texture_data(
uint32_t id_data,
GLuint id,
enum gfx_wrap_type wrap_type,
enum texture_filter_type filter_type,
unsigned alignment,
Expand All @@ -141,7 +141,6 @@ static void gl_load_texture_data(
bool use_rgba = video_driver_supports_rgba();
bool rgb32 = (base_size == (sizeof(uint32_t)));
GLenum wrap = gl_wrap_type_to_enum(wrap_type);
GLuint id = (GLuint)id_data;
bool have_mipmap = gl_check_capability(GL_CAPS_MIPMAP);

if (!have_mipmap)
Expand Down Expand Up @@ -202,10 +201,9 @@ static bool gl_add_lut(
bool lut_mipmap,
unsigned lut_filter,
enum gfx_wrap_type lut_wrap_type,
unsigned i, void *textures_data)
unsigned i, GLuint *textures_lut)
{
struct texture_image img;
GLuint *textures_lut = (GLuint*)textures_data;
enum texture_filter_type filter_type = TEXTURE_FILTER_LINEAR;

img.width = 0;
Expand Down

0 comments on commit 1a6d0b2

Please sign in to comment.