|
@@ -41,7 +41,7 @@ VideoRenderImpl::~VideoRenderImpl()
|
|
|
m_convertbuffer = NULL;
|
|
|
}
|
|
|
|
|
|
- SDL_Quit();
|
|
|
+ //SDL_Quit();
|
|
|
}
|
|
|
|
|
|
int VideoRenderImpl::SetWindowProperty(videorender_param_t* tparam)
|
|
@@ -97,10 +97,10 @@ int VideoRenderImpl::VideoRenderSetParam(videorender_param_t* tparam)
|
|
|
}
|
|
|
|
|
|
if (NULL == m_sdl_window){
|
|
|
- if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER) < 0){
|
|
|
- m_callback->Debug("RENDER: Couldn't initialize SDL2: %s", SDL_GetError());
|
|
|
- return -1;
|
|
|
- }
|
|
|
+ // if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER) < 0){
|
|
|
+ // m_callback->Debug("RENDER: Couldn't initialize SDL2: %s", SDL_GetError());
|
|
|
+ // return -1;
|
|
|
+ // }
|
|
|
|
|
|
SDL_SetHint("SDL_HINT_RENDER_SCALE_QUALITY", "1");
|
|
|
|