Correct Mac OpenGL compressed texture upload rules.
Merge pull request #121 from nkiesel/master

avoid potential read of uninitialized memory
Correct S57 Extended light sector display logic.
Correct S52PLIB color scheme initialization sequence for DC mode.