Skip to content
Commit 67a36465 authored by Simon Glass's avatar Simon Glass Committed by Anatolij Gustschin
Browse files

sandbox: video: Fix building without SDL



This is currently broken. If SDL is not installed, SANDBOX_SDL becomes
false and build errors are generated, e.g.:

   test/dm/video.c:424: undefined reference to `sandbox_sdl_set_bpp'

Fix it by making the function return an error in this case.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 340bebf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment