diff --git a/Makefile b/Makefile index f3f5ace899..7933514527 100644 --- a/Makefile +++ b/Makefile @@ -3506,9 +3506,7 @@ debcopy: distclean install -d $(DEBSRCDIR) $(LINKTREE) ${DEBDIR} $(DEBSRCDIR)/debian $(LINKTREE) Makefile.fpc $(DEBSRCDIR) - $(LINKTREE) COPYING $(DEBSRCDIR) - $(LINKTREE) COPYING.GPL $(DEBSRCDIR) - $(LINKTREE) COPYING.LGPL $(DEBSRCDIR) + $(LINKTREE) COPYING.* $(DEBSRCDIR) $(LINKTREE) README.txt $(DEBSRCDIR) $(LINKTREE) components $(DEBSRCDIR) $(LINKTREE) converter $(DEBSRCDIR) diff --git a/Makefile.fpc b/Makefile.fpc index 9a60269bbc..7e16c4f82c 100644 --- a/Makefile.fpc +++ b/Makefile.fpc @@ -180,9 +180,7 @@ debcopy: distclean install -d $(DEBSRCDIR) $(LINKTREE) ${DEBDIR} $(DEBSRCDIR)/debian $(LINKTREE) Makefile.fpc $(DEBSRCDIR) - $(LINKTREE) COPYING $(DEBSRCDIR) - $(LINKTREE) COPYING.GPL $(DEBSRCDIR) - $(LINKTREE) COPYING.LGPL $(DEBSRCDIR) + $(LINKTREE) COPYING.* $(DEBSRCDIR) $(LINKTREE) README.txt $(DEBSRCDIR) $(LINKTREE) components $(DEBSRCDIR) $(LINKTREE) converter $(DEBSRCDIR) diff --git a/components/opengl/glwin32wglcontext.pas b/components/opengl/glwin32wglcontext.pas index d039b69db2..d284ca6045 100644 --- a/components/opengl/glwin32wglcontext.pas +++ b/components/opengl/glwin32wglcontext.pas @@ -292,8 +292,10 @@ begin if DoubleBuffered then dwFlags:=dwFlags or PFD_DOUBLEBUFFER; if RGBA then - dwFlags:=dwFlags or PFD_TYPE_RGBA; - iPixelType:=24; // color depth + iPixelType:=PFD_TYPE_RGBA + else + iPixelType:=PFD_TYPE_COLORINDEX; + cColorBits:=24; // color depth cDepthBits:=16; // Z-Buffer iLayerType:=PFD_MAIN_PLANE; end;