Add line shadow shader

This commit is contained in:
jgk
2021-06-26 22:20:41 +02:00
parent 726cd425f2
commit 06f22a3ea5
21 changed files with 128 additions and 74 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ compileAndCheckShader str (theShaderType,sourceCode) = do
success <- compileStatus theShader
unless success $ do
infoLog <- get (shaderInfoLog theShader)
putStrLn $ str ++ ": Shader compile: " ++ show theShaderType ++ " : " ++ show infoLog
putStrLn $ str ++ ": Shader compile: " ++ show theShaderType ++ " :\n" ++ infoLog
return theShader
bufferOffset :: Integral a => a -> Ptr b