// drawBackground makes the texture for the background.
drawBackground makes the texture for the background.
// drawBackground makes the texture for the background .
func DrawBackground(tableTex *sdl.Texture, renderer *sdl.Renderer) *sdl.Texture {
	backImg, err := sdl.LoadBMP("table.bmp")
	if err != nil {
		fmt.Println(err)
	}
	defer backImg.Free()
	tableTex, err = renderer.CreateTextureFromSurface(backImg)
	if err != nil {
		fmt.Println(err)
	}
	return tableTex
}
func DrawBackground ( tableTex * sdl . Texture , renderer * sdl . Renderer ) * sdl . Texture { backImg , err := sdl . LoadBMP ( " " ) if err != nil { fmt . Println ( err ) } defer backImg . Free ( ) tableTex , err = renderer . CreateTextureFromSurface ( backImg ) if err != nil { fmt . Println ( err ) } return tableTex }
drawBackground makes the texture for the background.
drawBackground makes the texture for the background .