mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-22 16:00:07 +00:00
The example simpleCpu compilation was failing, thanks to
a) Missing include/import in mainApple (compiler failed to find definition of glGetError() and associated enums) b) Missing generation of string-fied shader for inclusion into the source code files. This patch fixes both issues. Signed-off-by: Adenilson Cavalcanti <cavalcantii@gmail.com>
This commit is contained in:
parent
3467673a6b
commit
8e5ce18e48
@ -101,6 +101,8 @@ if(APPLE)
|
||||
_add_glut_executable(simpleCpu
|
||||
mainApple.mm
|
||||
simpleCpuSubdivision.cpp
|
||||
${SHADER_FILES}
|
||||
${INC_FILES}
|
||||
)
|
||||
else()
|
||||
_add_glut_executable(simpleCpu
|
||||
|
@ -1,7 +1,8 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <wchar.h>
|
||||
#import <iostream>
|
||||
|
||||
#import <OpenGL/OpenGL.h>
|
||||
#import <OpenGL/glu.h>
|
||||
//
|
||||
// Hooks back into the example code
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user