src/video/mir/SDL_mirframebuffer.c
changeset 8749 f34996d809b7
parent 8300 8393682d9d96
child 9619 b94b6d0bff0f
equal deleted inserted replaced
8748:7ba9c0a0cad7 8749:f34996d809b7
    53                             void** pixels, int* pitch)
    53                             void** pixels, int* pitch)
    54 {
    54 {
    55     MIR_Data* mir_data = _this->driverdata;
    55     MIR_Data* mir_data = _this->driverdata;
    56     MIR_Window* mir_window;
    56     MIR_Window* mir_window;
    57     MirSurfaceParameters surfaceparm;
    57     MirSurfaceParameters surfaceparm;
       
    58 
       
    59     mir_data->software = SDL_TRUE;
    58 
    60 
    59     if (MIR_CreateWindow(_this, window) < 0)
    61     if (MIR_CreateWindow(_this, window) < 0)
    60         return SDL_SetError("Failed to created a mir window.");
    62         return SDL_SetError("Failed to created a mir window.");
    61 
    63 
    62     mir_window = window->driverdata;
    64     mir_window = window->driverdata;