Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 117829
Collapse All | Expand All

(-)lincity-ng-1.0.2-orig/src/gui/PainterGL/TextureGL.cpp (-1 / +1 lines)
Lines 28-34 Link Here
28
28
29
TextureGL::~TextureGL()
29
TextureGL::~TextureGL()
30
{
30
{
31
    unsigned int handles[1] = { handle };
31
    unsigned long handles[1] = { handle };
32
    glDeleteTextures(1, handles);
32
    glDeleteTextures(1, handles);
33
}
33
}
34
34
(-)lincity-ng-1.0.2-orig/src/gui/PainterGL/TextureManagerGL.cpp (-1 / +1 lines)
Lines 65-71 Link Here
65
    SDL_SetAlpha(image, 0, 0);
65
    SDL_SetAlpha(image, 0, 0);
66
    SDL_BlitSurface(image, 0, convert, 0);
66
    SDL_BlitSurface(image, 0, convert, 0);
67
67
68
    unsigned int handle;
68
    unsigned long handle;
69
    glGenTextures(1, &handle);
69
    glGenTextures(1, &handle);
70
70
71
    SDL_PixelFormat* format = convert->format;
71
    SDL_PixelFormat* format = convert->format;

Return to bug 117829